you-get icon indicating copy to clipboard operation
you-get copied to clipboard

mgtv download went wrong.

Open ghost opened this issue 6 years ago • 6 comments

$ you-get https://www.mgtv.com/b/319123/4154260.html you-get: [error] oops, something went wrong. you-get: don't panic, c'est la vie. please try the following steps: you-get: (1) Rule out any network problem. you-get: (2) Make sure you-get is up-to-date. you-get: (3) Check if the issue is already known, on you-get: https://github.com/soimort/you-get/wiki/Known-Bugs you-get: https://github.com/soimort/you-get/issues you-get: (4) Run the command with '--debug' option, you-get: and report this issue with the full output.

$ you-get --debug https://www.mgtv.com/b/319123/4154260.html [DEBUG] get_content: http://pcweb.api.mgtv.com/player/video?video_id=4154260 you-get: version 0.4.1099, a tiny downloader that scrapes the web. you-get: Namespace(URL=['https://www.mgtv.com/b/319123/4154260.html'], auto_rename=False, cookies=None, debug=True, extractor_proxy=None, force=False, format=None, help=False, http_proxy=None, info=False, input_file=None, itag=None, json=False, no_caption=False, no_merge=False, no_proxy=False, output_dir='.', output_filename=None, password=None, player=None, playlist=False, socks_proxy=None, stream=None, timeout=600, url=False, version=False) Traceback (most recent call last): File "/usr/local/bin/you-get", line 11, in load_entry_point('you-get==0.4.1099', 'console_scripts', 'you-get')() File "/usr/local/Cellar/you-get/0.4.1099_1/libexec/lib/python3.7/site-packages/you_get/main.py", line 92, in main main(**kwargs) File "/usr/local/Cellar/you-get/0.4.1099_1/libexec/lib/python3.7/site-packages/you_get/common.py", line 1623, in main script_main(any_download, any_download_playlist, **kwargs) File "/usr/local/Cellar/you-get/0.4.1099_1/libexec/lib/python3.7/site-packages/you_get/common.py", line 1507, in script_main **extra File "/usr/local/Cellar/you-get/0.4.1099_1/libexec/lib/python3.7/site-packages/you_get/common.py", line 1242, in download_main download(url, **kwargs) File "/usr/local/Cellar/you-get/0.4.1099_1/libexec/lib/python3.7/site-packages/you_get/common.py", line 1614, in any_download m.download(url, **kwargs) File "/usr/local/Cellar/you-get/0.4.1099_1/libexec/lib/python3.7/site-packages/you_get/extractor.py", line 46, in download_by_url self.prepare(**kwargs) File "/usr/local/Cellar/you-get/0.4.1099_1/libexec/lib/python3.7/site-packages/you_get/extractors/mgtv.py", line 68, in prepare self.title = content['data']['info']['title'] KeyError: 'info'

ghost avatar Jul 10 '18 10:07 ghost

Hello @jsbd, Thanks for the Pull Request. We :heart: our contributors! Please wait for one of our human maintainers to review your patches. This may take a few days to weeks. Also, please understand that although your Pull Request may or may not be eventually merged, we value all contributions equally.

祝您健康!

soimort-bot avatar Jul 10 '18 10:07 soimort-bot

似乎增加tk2加密。你有好的解决方案了吗?

986353307 avatar Aug 08 '18 19:08 986353307

I have the same error message KeyError: 'info' when I you-get mgtv video.

JiaxiangBU avatar Nov 03 '18 06:11 JiaxiangBU

Did it fix?

baungham avatar Feb 13 '19 09:02 baungham

https://tb.mgtv.com/sdk/pc-sdk/lastest/ad-sdk.js?1.5.39
这是加密的js 文件。里面有tk2 和pm2 的加密过程。我的前端知识不太好,希望大佬能够解决一下问题。 This is an encrypted js file.There are tk2 and pm2 encryption process.My front-end knowledge is not good, I hope the big brother can solve the problem.

sumingjia avatar Apr 03 '19 11:04 sumingjia

Did it fix?

Still unfixed on version 0.4.1456

20NE avatar Aug 28 '20 05:08 20NE