[extractor/common] Improve _request_webpage
authorSergey M․ <dstftw@gmail.com>
Thu, 31 Mar 2016 16:58:38 +0000 (22:58 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 31 Mar 2016 16:58:38 +0000 (22:58 +0600)
commit41d06b042427aa019200bb80a1935d12110f50b1
tree87fbc423aec0f4ec30c6491d052acdd2a0c8a767
parent15d260ebaa48409112270685d306a5d9152260c4
[extractor/common] Improve _request_webpage

* Do not ignore data, headers and query for Requests
* Default values for headers and query switched to dicts since these are used by urllib itself
youtube_dl/extractor/common.py