mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
mtvnn: dont urlparse the path
This commit is contained in:
parent
bb47a5d1fa
commit
45a5c0ee38
@ -35,8 +35,7 @@ class Mtvnn(Service, OpenGraphThumbMixin):
|
||||
return
|
||||
|
||||
swfurl = mediagen.find("{http://search.yahoo.com/mrss/}player").attrib["url"]
|
||||
parse = urlparse(swfurl)
|
||||
options.other = "-W %s://%s%s" % (parse.scheme, parse.hostname, self.http.check_redirect(swfurl))
|
||||
options.other = "-W %s" % self.http.check_redirect(swfurl)
|
||||
|
||||
contenturl = mediagen.find("{http://search.yahoo.com/mrss/}content").attrib["url"]
|
||||
content = self.http.request("get", contenturl).content
|
||||
|
Loading…
Reference in New Issue
Block a user