mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-14 02:29:34 -04:00
mv append ytdlp_outlinks
This commit is contained in:
parent
0b26509637
commit
5fa25a747f
1 changed files with 1 additions and 2 deletions
|
@ -255,6 +255,7 @@ class BrozzlerWorker:
|
|||
if enable_youtube_dl and ydl.should_ytdlp(page):
|
||||
try:
|
||||
ydl_outlinks = ydl.do_youtube_dl(self, site, page)
|
||||
outlinks.update(ydl_outlinks)
|
||||
except brozzler.ReachedLimit as e:
|
||||
raise
|
||||
except brozzler.ShutdownRequested:
|
||||
|
@ -278,8 +279,6 @@ class BrozzlerWorker:
|
|||
self.logger.error(
|
||||
"youtube_dl raised exception on %s", page, exc_info=True
|
||||
)
|
||||
|
||||
outlinks.update(ydl_outlinks)
|
||||
return outlinks
|
||||
|
||||
def _browse_page(self, browser, site, page, on_screenshot=None, on_request=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue