Open shaycraft opened 3 years ago
It turns out this doesn't have a public api/rss feed. However, there is an xhr request when you log into your account at Netflix containing a json response of everything needed. This could be done one of 2 ways, but both would probably start with having the user (instructions for this will be provided to them), to download a Greasemonkey script (or maybe node? <---- though this will require figuring out how to do the auth), and then:
1). Have the user upload a local filed created by whatever process (difficult to do with Greasemonkey), and user uploads it
-- or --
2). The script calls our api to upload the results
curl 'https://portal.dvd.netflix.com/queue/aggregated?shipping_history_only=true' \
-H 'Connection: keep-alive' \
-H 'Pragma: no-cache' \
-H 'Cache-Control: no-cache' \
-H 'Access-Control-Allow-Origin: netflix.com' \
-H 'Accept: application/json, text/javascript, */*; q=0.01' \
-H 'Content-Type: application/json; charset=utf-8' \
-H 'X-Requested-With: Website/webeng-website-1.1.0-395.noarch/Chrome/87.0.4280.141' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36' \
-H 'sec-ch-ua: "Google Chrome";v="87", " Not;A Brand";v="99", "Chromium";v="87"' \
-H 'Origin: https://dvd.netflix.com' \
-H 'Sec-Fetch-Site: same-site' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Referer: https://dvd.netflix.com/' \
-H 'Accept-Language: en-US,en;q=0.9,es-US;q=0.8,es;q=0.7' \
-H 'Cookie: '<<SUPER LONG COOKIE TEXT CONTAINING AUTH STUFF HERE (hopefully)>>'\
--compressed
Allow users to sync their netflix list (and dvd queue) to the database, and export to csv (excel?)