-
Notifications
You must be signed in to change notification settings - Fork 7
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
JSON Decode Error #11
Comments
Hey, 9anime has done some anti bot things. Please wait till the code is updated. |
This repo is moved here: anime_scrapers. Please use it instead. |
Cool! will check it.
…On Oct 31, 2017 01:06, "DeathSec" ***@***.***> wrote:
@fadedcoder <https://github.com/fadedcoder> I Cracked 9Anime's Anti Bot
and made a complete app , just in the edge to get released.
its written in c++ with Qt5. Take a look if you want , I exploited 9Animes
InSecure XHR and got the direct links on the fly , if you are using Linux
with KDE then you can compile the app and start downloading actual anime's
with ease !
- it automatically resumes downloads
- runs in system tray
- and the best part you can watch as it gets downloaded , just like
buffering but stores in disk.
- Queueing supported
Currently I am cleaning up my code base and making my gui more attractive.
https://github.com/deathsec/9anime/tree/develop
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQjZIfIvuYUhxII0KRjUhvrGCCt0fDkOks5sxiUqgaJpZM4N5Kai>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "run.py", line 2, in
anime9.download('https://9anime.to/watch/sword-art-online.5y9/m2932p')
File "/Users/Darek/Dropbox/Anime/9anime/anime9.py", line 212, in download
directLink = get_mp4(episode['id'])[-1]['file']
File "/Users/Darek/Dropbox/Anime/9anime/anime9.py", line 84, in get_mp4
details = requests.get(constants.INFO_API, params=payload, headers=headers, cookies = cookies).json()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/requests/models.py", line 886, in json
return complexjson.loads(self.text, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/simplejson/init.py", line 516, in loads
return _default_decoder.decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/simplejson/decoder.py", line 374, in decode
obj, end = self.raw_decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/simplejson/decoder.py", line 404, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Try decoding the content to UTF, but also got that it was invalid.
Edited the code to get more info about the get request on line 84 and got this
content : b'\x01@\x00\x00 -\xa2\xb3\xd77%\x99d\x93\xb2\xb8\xc6-\xa9\xdc\x00\x03'
text : @ -���7%�d����-��
Tried converting content to UTF, but another decode error. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: