[generic] Fix access to removed function in python 3.4
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 17 Mar 2014 20:59:21 +0000 (21:59 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 17 Mar 2014 20:59:21 +0000 (21:59 +0100)
commitecbe1ad2073ffa4b084a69854e000f6e03cba09c
treeb3b8acc37320e5c0f22c9f233fe9fef0e43487fe
parent9d840c43b535be0e70f7f9a35bf5787ffdb7ecf6
[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.
youtube_dl/extractor/generic.py