mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-09 23:13:07 -04:00
skip .pdf
This commit is contained in:
parent
48681e2a93
commit
88223cee59
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ class BrozzlerWorker:
|
|||
self.logger.info("brozzling {}".format(page))
|
||||
ydl_fetches = None
|
||||
outlinks = set()
|
||||
if enable_youtube_dl:
|
||||
if enable_youtube_dl and not page.url.lower().endswith(".pdf"):
|
||||
try:
|
||||
ydl_fetches, outlinks = ydl.do_youtube_dl(self, site, page)
|
||||
except brozzler.ReachedLimit as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue