mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
parent
b25cac650f
commit
2d1019542a
1 changed files with 3 additions and 1 deletions
|
@ -627,7 +627,9 @@ def _search_results(self, query):
|
||||||
'search_type': 'video',
|
'search_type': 'video',
|
||||||
'tids': 0,
|
'tids': 0,
|
||||||
'highlight': 1,
|
'highlight': 1,
|
||||||
})['data'].get('result') or []
|
})['data'].get('result')
|
||||||
|
if not videos:
|
||||||
|
break
|
||||||
for video in videos:
|
for video in videos:
|
||||||
yield self.url_result(video['arcurl'], 'BiliBili', str(video['aid']))
|
yield self.url_result(video['arcurl'], 'BiliBili', str(video['aid']))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue