mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
skip downloading videos from instagram user page
This commit is contained in:
parent
c46f29eaae
commit
9054daf3c4
@ -175,6 +175,14 @@ def _build_youtube_dl(worker, destdir, site):
|
||||
'user page because we expect to capture them from '
|
||||
'individual track pages',
|
||||
len(ie_result['entries_no_dl']))
|
||||
elif ie.IE_NAME == 'instagram:user':
|
||||
ie_result['entries_no_dl'] = list(ie_result['entries'])
|
||||
ie_result['entries'] = []
|
||||
self.logger.info(
|
||||
'not downloading %s videos from this instagram '
|
||||
'user page because we expect to capture them from '
|
||||
'individual detail pages',
|
||||
len(ie_result['entries_no_dl']))
|
||||
else:
|
||||
self.logger.info(
|
||||
'extractor %r found a download in %s', ie.IE_NAME, url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user