mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-20 04:44:12 -04:00
make youtube-dl prefer unsegmented videos
This commit is contained in:
parent
e6b5770f6c
commit
35babeb01b
2 changed files with 5 additions and 1 deletions
|
@ -180,6 +180,10 @@ class BrozzlerWorker:
|
||||||
"nopart": True,
|
"nopart": True,
|
||||||
"no_color": True,
|
"no_color": True,
|
||||||
"progress_hooks": [ydl_progress],
|
"progress_hooks": [ydl_progress],
|
||||||
|
# https://github.com/rg3/youtube-dl/blob/master/README.md#format-selection
|
||||||
|
# "best: Select the best quality format represented by a single
|
||||||
|
# file with video and audio."
|
||||||
|
"format": "best/bestvideo+bestaudio",
|
||||||
}
|
}
|
||||||
if self._proxy_for(site):
|
if self._proxy_for(site):
|
||||||
ydl_opts["proxy"] = "http://{}".format(self._proxy_for(site))
|
ydl_opts["proxy"] = "http://{}".format(self._proxy_for(site))
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -32,7 +32,7 @@ def find_package_data(package):
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='brozzler',
|
name='brozzler',
|
||||||
version='1.1b12.dev259',
|
version='1.1b12.dev260',
|
||||||
description='Distributed web crawling with browsers',
|
description='Distributed web crawling with browsers',
|
||||||
url='https://github.com/internetarchive/brozzler',
|
url='https://github.com/internetarchive/brozzler',
|
||||||
author='Noah Levitt',
|
author='Noah Levitt',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue