Giter Club home page Giter Club logo

9anime-scraper's Introduction

Hi there 👋

Welcome to my profile!

  • 💻 In the past, I was a software/developer engineer at Klipfolio, Hoppier, RBC Amplify, Unity, and RBC X where I primarily worked in full-stack development, while also venturing into Data Analytics, SRE, and Project Management.
  • 🛠 I'm currently a Software Developer at CrowdStrike within the Charts and UX team.
  • 🌱 Previously, I was learning how to build Real-time collaboration apps by creating a music collaboration site for my honors project supervised under Lou D. Nel

9anime-scraper's People

Contributors

jqwotos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

9anime-scraper's Issues

something wrong now?

finally had a chance to look into this again. Is it currently working for you?

I just played an episode on 9anime, and then tried to download and got:

raise Exception("Your reqkey cookie has been banned by 9anime, please get another one.")

Scrape more information

Nice repo here! Btw, it would be cool if some more information like Anime Status (completed or not), rating etc. Could be added.
And can I contribute to this repo (like adding PRs?)

JSON Decode Error

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.