Sergey M․
4 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
2 changed files with
15 additions and
0 deletions
-
youtube_dl/extractor/bilibili.py
-
youtube_dl/extractor/extractors.py
|
@ -434,3 +434,17 @@ class BilibiliAudioAlbumIE(BilibiliAudioBaseIE): |
|
|
entries, am_id, album_title, album_data.get('intro')) |
|
|
entries, am_id, album_title, album_data.get('intro')) |
|
|
|
|
|
|
|
|
return self.playlist_result(entries, am_id) |
|
|
return self.playlist_result(entries, am_id) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class BiliBiliPlayerIE(InfoExtractor): |
|
|
|
|
|
_VALID_URL = r'https?://player\.bilibili\.com/player\.html\?.*?\baid=(?P<id>\d+)' |
|
|
|
|
|
_TEST = { |
|
|
|
|
|
'url': 'http://player.bilibili.com/player.html?aid=92494333&cid=157926707&page=1', |
|
|
|
|
|
'only_matching': True, |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
def _real_extract(self, url): |
|
|
|
|
|
video_id = self._match_id(url) |
|
|
|
|
|
return self.url_result( |
|
|
|
|
|
'http://www.bilibili.tv/video/av%s/' % video_id, |
|
|
|
|
|
ie=BiliBiliIE.ie_key(), video_id=video_id) |
|
@ -105,6 +105,7 @@ from .bilibili import ( |
|
|
BiliBiliBangumiIE, |
|
|
BiliBiliBangumiIE, |
|
|
BilibiliAudioIE, |
|
|
BilibiliAudioIE, |
|
|
BilibiliAudioAlbumIE, |
|
|
BilibiliAudioAlbumIE, |
|
|
|
|
|
BiliBiliPlayerIE, |
|
|
) |
|
|
) |
|
|
from .biobiochiletv import BioBioChileTVIE |
|
|
from .biobiochiletv import BioBioChileTVIE |
|
|
from .bitchute import ( |
|
|
from .bitchute import ( |
|
|