mv append ytdlp_outlinks

This commit is contained in:
Barbara Miller 2024-04-10 13:42:10 -07:00
parent 0b26509637
commit 5fa25a747f

View File

@ -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):