Compare commits

...

3 Commits

Author SHA1 Message Date
bashonly
70c14d0e49
fix test regex 2024-01-19 19:44:19 +00:00
SirElderling
79f379c90d xMerge branch 'bilibilitv' of github.com:SirElderling/yt-dlp into bilibilitv 2024-01-19 17:54:12 +00:00
SirElderling
565df976b4 [BiliBili] - add json_ld back in merge_dict; fix thumbnail in test 2024-01-19 17:52:36 +00:00

View File

@ -1858,7 +1858,7 @@ class BiliIntlIE(BiliIntlBaseIE):
'upload_date': '20221108',
'title': 'That Time I Got Reincarnated as a Slime: Scarlet Bond - Official Trailer 3| AnimeStan',
'comment_count': int,
'thumbnail': 'https://pic.bstarstatic.com/ugc/f6c363659efd2eabe5683fbb906b1582.jpg',
'thumbnail': r're:https://pic\.bstarstatic\.(?:com|net)/ugc/f6c363659efd2eabe5683fbb906b1582\.jpg',
},
'params': {
'getcomments': True
@ -1926,7 +1926,7 @@ class BiliIntlIE(BiliIntlBaseIE):
'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))
}, self._search_json_ld(webpage, video_id, default={}))
def _get_comments_reply(self, root_id, next_id=0, display_id=None):
comment_api_raw_data = self._download_json(