Errors when downloading from iQIYI #77

Closed
k1n opened this Issue Jan 21, 2013 · 0 comments

Projects

None yet

2 participants

@k1n

k1n@k1n-pc:~/Downloads/you-get$ ./you-get -o ~/Videos/ http://www.iqiyi.com/life/20130121/4d8f32155b8178bb.html
Video Site: iQIYI.com
Title: 2012百度年会-度娘都是浮云,百度小桔灯公益才是最大亮点
Type: MPEG-2 transport stream (video/MP2T)
Size: 37.65 MB (39479751 Bytes)

Downloading 2012百度年会-度娘都是浮云,百度小桔灯公益才是最大亮点.ts ...
Traceback (most recent call last):
File "./you-get", line 6, in
main()
File "/home/k1n/Downloads/you-get/you_get/main.py", line 61, in main
script_main('you-get', any_download, any_download_playlist)
File "/home/k1n/Downloads/you-get/you_get/common.py", line 657, in script_main
download_main(download, download_playlist, args, playlist, output_dir, merge, info_only)
File "/home/k1n/Downloads/you-get/you_get/common.py", line 577, in download_main
download(url, output_dir = output_dir, merge = merge, info_only = info_only)
File "/home/k1n/Downloads/you-get/you_get/main.py", line 54, in any_download
m.download(url, output_dir = output_dir, merge = merge, info_only = info_only)
File "/home/k1n/Downloads/you-get/you_get/downloader/iqiyi.py", line 31, in iqiyi_download
download_urls_chunked(tss, title, 'ts', size, output_dir = output_dir, merge = merge) # use MPEG-TS .ts files temporarily
File "/home/k1n/Downloads/you-get/you_get/common.py", line 451, in download_urls_chunked
url_save_chunked(url, filepath, bar, refer = refer, faker = faker)
File "/home/k1n/Downloads/you-get/you_get/common.py", line 261, in url_save_chunked
response = request.urlopen(request.Request(url, headers = headers), None)
File "/usr/local/lib/python3.3/urllib/request.py", line 160, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python3.3/urllib/request.py", line 479, in open
response = meth(req, response)
File "/usr/local/lib/python3.3/urllib/request.py", line 591, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python3.3/urllib/request.py", line 517, in error
return self._call_chain(args)
File "/usr/local/lib/python3.3/urllib/request.py", line 451, in _call_chain
result = func(
args)
File "/usr/local/lib/python3.3/urllib/request.py", line 599, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 405: Not Allowed

@soimort soimort closed this in 898e1b6 Jan 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment