jameskang410 / scraping-netflix Goto Github PK
View Code? Open in Web Editor NEWA Python API that scrapes movie information from Netflix. A nice substitute for their now-privatized API. Used by http://www.tomatoflix.com
A Python API that scrapes movie information from Netflix. A nice substitute for their now-privatized API. Used by http://www.tomatoflix.com
Hi,
Thanks a lot for this project, I could work around and got what I needed.
However a few features doesn't work out. (or I didn't understand how it works out)
Netflix.search()
to work. I get an error message and a list of suggestions. If I input as str one of the search suggestions... still doesn't work and prompt another suggestion list.Netflix.initialize()
and Netflix.all_titles()
(and that was sufficient for what I had to do).Netflix.titles()
or Netflix.tv_show()
or Netflix.duration()
doesn't work out. Error message says self.netflix_json
is not defined. And from what I read in your code, the rest seems to be pretty much the same error message.Hope you could help.
In the other hand I see the latest commit is about 5 years old. If we'd like to take over the repares and solve it out, or complete the project... What is your Licence policy? Do you authorize to just fork and finish it?
This looks awesome by the way. Thanks for making it.
I tried running it and am getting this error:
Error: Was not able to download JSON data. AJAX URLs may have changed or Netflix ID may be incorrect.
I tried both the NetflixId cookie and the SecureNetflixId cookie, and neither seemed to work. I opened up netflix and clicked on browse
and then selected anime, and the Chrome Network tab had this as the URL:
https://www.netflix.com/api/shakti/113b89c9/pathEvaluator?withSize=true&materialize=true&model=harris
which is similar but not that similar to the URL in the code:
http://www.netflix.com/api/shakti/c88e2062/wigenre?genreId=%s&full=false&from=0&to=10000
Is this something you are willing to fix?
You have no email so this is my only way of contacting you. I wrote a scraper similar to this......I din't make an api out of it but it did the trick. It worked right up until netflix started using react text on there site. I'm really curious to figure out how you got around this. Because I've been trying to figure it out for awhile. I've thought about using browser automation. but that feels like over kill.
Tomatoflix, as mentioned in the README, no longer seems to be up (it's now a pregnancy food search tool - and given it says copyright 2015, congratulations on your son/daughter who would have been born by now!). Are you still using this Netflix scraper anywhere online? Does it still work?
I saw the domain is blank. Did this shutdown? Did Netflix issue a C&D?
It seems that the 8 alphanumeric character hex string "c88e2062" changes over time (possibly as a commit or release code?), so the JSON GETs no longer work in the initialize() method. 404 errors are returned by the HTTP requests. How did you determine the URL to hit for getting the JSON?
I did only test in-browser and not via the Python program, though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.