1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-25 04:26:05 +08:00

[ncpaclassic] Add new extractor

This commit is contained in:
difeng 2017-01-03 18:02:33 +08:00
parent 248d456db3
commit af47470b93

View File

@ -14,14 +14,7 @@ class NcpaClassicVideoIE(InfoExtractor):
'id': '1369219508996867', 'id': '1369219508996867',
'title': '小泽征尔音乐塾 音乐梦想无国界_古典音乐频道' 'title': '小泽征尔音乐塾 音乐梦想无国界_古典音乐频道'
}, },
'playlist_count': 8, 'playlist_count': 8
},{
'url': 'http://ncpa-classic.cntv.cn/2013/05/22/VIDE1369219508996867.shtml',
'info_dict': {
'id': '1369219508996867',
'title': '小泽征尔音乐塾 音乐梦想无国界_古典音乐频道'
},
'playlist_count': 8,
}] }]
def _real_extract(self, url): def _real_extract(self, url):
@ -74,14 +67,7 @@ class NcpaClassicAudioIE(InfoExtractor):
'id': '416', 'id': '416',
'title': '来自维也纳的新年贺礼' 'title': '来自维也纳的新年贺礼'
}, },
'playlist_count': 1, 'playlist_count': 1
},{
'url': 'http://ncpa-classic.cntv.cn/clt/more/416/index.shtml',
'info_dict': {
'id': '416',
'title': '来自维也纳的新年贺礼'
},
'playlist_count': 1,
}] }]
def _real_extract(self, url): def _real_extract(self, url):