Revert "fix for #1405" (fix #1485)

This reverts commit 38ba0dbe48.
This commit is contained in:
Mort Yao 2016-10-30 16:16:04 +01:00
parent 4561be553c
commit a4f4fb3626
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -314,9 +314,6 @@ class Youku(VideoExtractor):
q = q q = q
) )
ksegs += [i['server'] for i in json.loads(get_content(u))] ksegs += [i['server'] for i in json.loads(get_content(u))]
if (parse_host(ksegs[len(ksegs)-1])[0] == "vali.cp31.ott.cibntv.net"):
ksegs.pop(len(ksegs)-1)
except error.HTTPError as e: except error.HTTPError as e:
# Use fallback stream data in case of HTTP 404 # Use fallback stream data in case of HTTP 404
log.e('[Error] ' + str(e)) log.e('[Error] ' + str(e))