make youtube-dl prefer unsegmented videos

This commit is contained in:
Noah Levitt 2017-06-23 15:19:30 -07:00
parent e6b5770f6c
commit 35babeb01b
2 changed files with 5 additions and 1 deletions

View File

@ -180,6 +180,10 @@ class BrozzlerWorker:
"nopart": True,
"no_color": True,
"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):
ydl_opts["proxy"] = "http://{}".format(self._proxy_for(site))

View File

@ -32,7 +32,7 @@ def find_package_data(package):
setuptools.setup(
name='brozzler',
version='1.1b12.dev259',
version='1.1b12.dev260',
description='Distributed web crawling with browsers',
url='https://github.com/internetarchive/brozzler',
author='Noah Levitt',