mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 03:01:25 +01:00
Compare commits
No commits in common. "0f5aa10fa0589b3c43e6dd751b1332365077fa98" and "34df421bb16335e6a1a68839da6b31b7a0e5fb5a" have entirely different histories.
0f5aa10fa0
...
34df421bb1
|
@ -223,7 +223,6 @@ class BilibiliBaseIE(InfoExtractor):
|
|||
|
||||
class BiliBiliIE(BilibiliBaseIE):
|
||||
_VALID_URL = r'https?://(?:www\.)?bilibili\.com/(?:video/|festival/\w+\?(?:[^#]*&)?bvid=)[aAbB][vV](?P<id>[^/?#&]+)'
|
||||
|
||||
_TESTS = [{
|
||||
'url': 'https://www.bilibili.com/video/BV13x41117TL',
|
||||
'info_dict': {
|
||||
|
@ -1922,11 +1921,9 @@ class BiliIntlIE(BiliIntlBaseIE):
|
|||
# XXX: webpage metadata may not accurate, it just used to not crash when video_data not found
|
||||
return merge_dicts(
|
||||
self._parse_video_metadata(video_data), {
|
||||
'title': get_element_by_class(
|
||||
'bstar-meta__title', webpage) or self._html_search_meta('og:title', webpage),
|
||||
'description': get_element_by_class(
|
||||
'bstar-meta__desc', webpage) or self._html_search_meta('og:description'),
|
||||
} or self._search_json_ld(webpage, video_id, fatal=False))
|
||||
'title': get_element_by_class('bstar-meta__title', webpage),
|
||||
'description': get_element_by_class('bstar-meta__desc', webpage),
|
||||
})
|
||||
|
||||
def _get_comments_reply(self, root_id, next_id=0, display_id=None):
|
||||
comment_api_raw_data = self._download_json(
|
||||
|
|
Loading…
Reference in New Issue
Block a user