Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

太厉害了,腾讯ckey这个算法怎么拿到的 #3

Open
danran-php opened this issue Oct 26, 2016 · 0 comments
Open

太厉害了,腾讯ckey这个算法怎么拿到的 #3

danran-php opened this issue Oct 26, 2016 · 0 comments

Comments

@danran-php
Copy link

pv::INFO: loading page "http://v.qq.com/x/cover/0dfpyvfa7tp0ewe.html"
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\e\vqq\method_pc_flash_g
ate.py", line 66, in _re_get_vid
out['title_short'] = re_get('title_short', raw_cover)
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\e\vqq\method_pc_flash_g
ate.py", line 63, in re_get
return re.findall(re_list[r], raw)[0]
IndexError: list index out of range

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\e\common.py", line 213,
in _get_vid_info
vid_info = self._do_get_vid_info()
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\e\common.py", line 231,
in _do_get_vid_info
vid_info = self._re_get_vid(raw_html_text)
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\e\vqq\method_pc_flash_g
ate.py", line 74, in _re_get_vid
raise er from e
lib.err.NotSupportURLError: ('get vid_info items from page html script text fail
ed ', 'http://v.qq.com/x/cover/0dfpyvfa7tp0ewe.html')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "pv", line 30, in
start()
File "pv", line 27, in start
parse_video.main(sys.argv[1:])
File "C:\Users\Administrator\Desktop\lyp_pv-master\bin\parse_video.py", line 1
47, in main
do_parse()
File "C:\Users\Administrator\Desktop\lyp_pv-master\bin\parse_video.py", line 1
96, in do_parse
pvinfo = entry.parse(etc['url'], extractor=etc['extractor'], method=etc['met
hod'])
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\entry.py", line 48, in
parse
pvinfo = _do_parse(url, raw_extractor=extractor, raw_method=method)
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\entry.py", line 73, in
_do_parse
pvinfo = _call_extractor_parse(e, raw_url, raw_arg=raw_extractor, raw_method
=raw_method)
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\entry.py", line 114, in
_call_extractor_parse
pvinfo = extractor.parse(raw_url, raw_arg=raw_arg, raw_method=raw_method)
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\e\common.py", line 91,
in parse
pvinfo = self._do_parse(raw_method)
File "C:\Users\Administrator\Desktop\lyp_pv-master\lib\e\common.py", line 110,
in _do_parse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant