1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-06 15:25:36 +08:00

fix iqiyi extract function

This commit is contained in:
Luxing Huang
2016-02-29 19:31:25 -05:00
Unverified
parent e781ab63db
commit af0d35457b
+1 -1
View File
@@ -552,7 +552,7 @@ class IqiyiIE(InfoExtractor):
video_id = self._search_regex(
r'data-player-videoid\s*=\s*[\'"]([a-f\d]+)', webpage, 'video_id')
swf_url = self._search_regex(
r'(http://[^\'"]+MainPlayer[^.]+\.swf)', webpage, 'swf player URL')
r'(http://[^\'"]+flashplayer[^.]+\.swf)', webpage, 'swf player URL')
_uuid = uuid.uuid4().hex
enc_key = self.get_enc_key(swf_url, video_id)