mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
use new fork of youtube-dl with support for extra http headers on every request
This commit is contained in:
parent
b5cb94fc8b
commit
88f352efea
@ -1,6 +1,7 @@
|
||||
from brozzler.browser import Browser, BrowserPool
|
||||
from brozzler.site import Page, Site
|
||||
from brozzler.hq import BrozzlerHQ
|
||||
from brozzler.worker import BrozzlerWorker
|
||||
|
||||
def _read_version():
|
||||
import os
|
||||
|
@ -34,7 +34,7 @@ class BrozzlerWorker:
|
||||
"noprogress": True,
|
||||
"nopart": True,
|
||||
"no_color": True,
|
||||
"http_headers": site.extra_headers,
|
||||
"extra_http_headers": site.extra_headers,
|
||||
}
|
||||
if site.proxy:
|
||||
ydl_opts["proxy"] = "http://{}".format(site.proxy)
|
||||
|
@ -2,7 +2,8 @@ kombu
|
||||
argparse
|
||||
PyYAML
|
||||
git+https://github.com/ikreymer/surt.git@py3
|
||||
youtube_dl
|
||||
# youtube_dl
|
||||
git+https://github.com/nlevitt/youtube-dl.git@extra-http-headers
|
||||
git+https://github.com/seomoz/reppy.git
|
||||
# websocket-client
|
||||
git+https://github.com/nlevitt/websocket-client.git@tweaks
|
||||
|
Loading…
x
Reference in New Issue
Block a user