1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-15 08:58:28 +00:00
This commit is contained in:
yuan 2025-08-07 07:58:01 -07:00
parent 95a2971231
commit 25f13a1717

View File

@ -9,12 +9,9 @@
from .openload import PhantomJSwrapper from .openload import PhantomJSwrapper
from ..utils import ( from ..utils import (
ExtractorError, ExtractorError,
clean_html,
decode_packed_codes, decode_packed_codes,
float_or_none, float_or_none,
format_field, format_field,
get_element_by_attribute,
get_element_by_id,
int_or_none, int_or_none,
js_to_json, js_to_json,
ohdave_rsa_encrypt, ohdave_rsa_encrypt,
@ -172,14 +169,6 @@ class IqiyiIE(InfoExtractor):
_NETRC_MACHINE = 'iqiyi' _NETRC_MACHINE = 'iqiyi'
_TESTS = [{ _TESTS = [{
'url': 'http://www.iqiyi.com/v_19rrojlavg.html',
# MD5 checksum differs on my machine and Travis CI
'info_dict': {
'id': '9c1fb1b99d192b21c559e5a1a2cb3c73',
'ext': 'mp4',
'title': '美国德州空中惊现奇异云团 酷似UFO',
},
}, {
'url': 'http://www.iqiyi.com/v_19rrhnnclk.html', 'url': 'http://www.iqiyi.com/v_19rrhnnclk.html',
'md5': 'b7dc800a4004b1b57749d9abae0472da', 'md5': 'b7dc800a4004b1b57749d9abae0472da',
'info_dict': { 'info_dict': {
@ -343,7 +332,6 @@ def _real_extract(self, url):
'temp_id_js', 'temp_id_js',
headers={'Referer': url}, headers={'Referer': url},
) )
tvid = self._search_regex(r'"tvid":(\d+)', js, 'tvid') tvid = self._search_regex(r'"tvid":(\d+)', js, 'tvid')
params = { params = {