mirror of https://github.com/yt-dlp/yt-dlp
[generic] Fix access to removed function in python 3.4
The `Request.get_origin_req_host` method was deprecated in 3.3, use the `origin_req_host` property if it's not available, see http://docs.python.org/3.3/library/urllib.request.html#urllib.request.Request.get_origin_req_host.pull/8/head
parent
9d840c43b5
commit
ecbe1ad207
Loading…
Reference in New Issue