einstein95 / crunchy-xml-decoder

GNU General Public License v2.0
35 stars 14 forks source link

Download Error: handshake failure #109

Closed limitless-dev closed 7 years ago

limitless-dev commented 7 years ago

Hello,

Whenever I try to download anything, with or without enabling USA proxy. I even tried to download files I've already downloaded in order to check.

URL: http://www.crunchyroll.com/gintama/episode-305-shogun-assassination-arc-part-six-sworn-enemy-690601

But I get this error here: _01

I installed Python 2.7.9 as mentioned here #106 However, that didn't fix it for me.

Because now I get as #105 after installing Python 2.7.9 "TypeError: Non-hexadecimal digit found"

jsonn commented 7 years ago

The latter should have been fixed by the merge of #98. Are you sure your sources are up-to-date?

limitless-dev commented 7 years ago

Yes, I re-downloaded everything from here today I have tried "Python 2.7.9 + m3u8 0.2.10" .. Not m3u8 0.3.0

jaw20 commented 7 years ago

Could you run "pip freeze" in a command prompt, and post a screen shot of the output?

limitless-dev commented 7 years ago

@jaw20 Here you go: _2

jaw20 commented 7 years ago

Try uninstalling Python 2.7.9 and then delete any remaining folders and files, after the uninstall, in the python27 folder. Then try reinstalling python 2.7.9 making sure to also click on the option in the setup to add python.exe to path. Then install m3u8 only and then try running the script. The script should then download pycrypto and lxml on its own.

limitless-dev commented 7 years ago

@jaw20 I just did what you asked me to do. After running pip freeze it showed the following:

iso8601==0.1.11 m3u8==0.3.0

  1. I have run the script again.
  2. It installed the missing files automatically.
  3. I entered 6 to download from queue and then this line showed up:
    _4

I thought it was a new problem but it actually started downloading 2 files: _4-2

BUT... after finishing the download and merging, the file got deleted! I can't find it anywhere!

_4-3

As you can see above, only the subtitles remain!

btw thanks for telling me about adding paython.exe option.

jaw20 commented 7 years ago

Does it mention any error before it moves on to the next file? Probably when it finishes downloading?

limitless-dev commented 7 years ago

Yes! it actually shows the same message as yours in #108

jaw20 commented 7 years ago

I think there is a temporary fix for this, if you use one of the changes from #84 , I think it was https://github.com/einstein95/crunchy-xml-decoder/pull/84/commits/c73abafab82f3f6d41a7aba05edb41a0d4b1f03d . If you add that change in to your ultimate.py (using idle) you should be able to download files for the time being until hls is fixed.

jaw20 commented 7 years ago

But if i were you I would close this issue and either post or subscribe to #108

limitless-dev commented 7 years ago

@jaw20 Yes as you mentioned, I can download RTMP files but not HLS! I'll subscribe to your issue and see things from there. Thank you for helping me this far And thanks to @jsonn too!