feat: just curl the billing page

This commit is contained in:
HugoPoi 2020-11-11 16:13:40 +01:00
commit 41fbae76c4
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,2 @@
cookie = "SecureNetflixId=xxxxxxxxxxxxxxxxxx"
cookie = "NetflixId=xxxxxxxxxxxxxxxx"

9
last-invoice-to-leeto.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
curl 'https://www.netflix.com/BillingActivity'\
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0'\
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'\
-H 'Accept-Language: fr-FR,fr;q=0.5' --compressed \
--config .env.netflix_cookies