mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-11-27 10:50:29 -05: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):
|
if enable_youtube_dl and ydl.should_ytdlp(page):
|
||||||
try:
|
try:
|
||||||
ydl_outlinks = ydl.do_youtube_dl(self, site, page)
|
ydl_outlinks = ydl.do_youtube_dl(self, site, page)
|
||||||
|
outlinks.update(ydl_outlinks)
|
||||||
except brozzler.ReachedLimit as e:
|
except brozzler.ReachedLimit as e:
|
||||||
raise
|
raise
|
||||||
except brozzler.ShutdownRequested:
|
except brozzler.ShutdownRequested:
|
||||||
|
|
@ -278,8 +279,6 @@ class BrozzlerWorker:
|
||||||
self.logger.error(
|
self.logger.error(
|
||||||
"youtube_dl raised exception on %s", page, exc_info=True
|
"youtube_dl raised exception on %s", page, exc_info=True
|
||||||
)
|
)
|
||||||
|
|
||||||
outlinks.update(ydl_outlinks)
|
|
||||||
return outlinks
|
return outlinks
|
||||||
|
|
||||||
def _browse_page(self, browser, site, page, on_screenshot=None, on_request=None):
|
def _browse_page(self, browser, site, page, on_screenshot=None, on_request=None):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue