Use Chrome's / Firefox's dev-tools in python
My school has a website for homework called pronote (no problem if you don't know it). After logging in on parisclassenumerique.fr (works with selenium but I cant get requests to work), I want to read one of the packets that is sent: All the info about my day, my homework, etc. are in there and it is the perfect file: header request response stack trace The file's download address looks random. The login works only for a limited period of time in the same browser. Any ideas for using that tool of Firefox or same of Chrome? Thanks! -- https://mail.python.org/mailman/listinfo/python-list
Re: Use Chrome's / Firefox's dev-tools in python
Hello, Thanks for you answer! Actually my goal is not to automatically get the file once I open the page, but more to periodically check the site and get a notification when there's new homework or, at the morning, know when an hour is cancelled, so I don't want to have to open the browser every time. I have pretty good javascript knowledge so if you could better explain that idea, it would be a great help. -- https://mail.python.org/mailman/listinfo/python-list
Re: Use Chrome's / Firefox's dev-tools in python
Hi, Seems like that could be a method of doing things. Just one clarification: the website has unselectable text, looks like it's an image strangely generated, so if I can get the packet with it, it would be perfect. As I said (I think), logging in with Selenium was already possible, and I could get a screenshot of the page after logging in. If you got this working like a packet listener in browser capable of seeing packet data, I'd gladly accept the code. I've tried to do this for 3 years now (since I came into that school basically), looks like it's coming to an end! Thanks! -- https://mail.python.org/mailman/listinfo/python-list
Re: Use Chrome's / Firefox's dev-tools in python
@Curt: That is notifications for the ENT app, I want the notifications for the app named ProNote. ENT is for e-mails and Pronote for homework, quotes, etc. -- https://mail.python.org/mailman/listinfo/python-list
Re: Use Chrome's / Firefox's dev-tools in python
Already tried this, only works for messages and not for homework etc. -- https://mail.python.org/mailman/listinfo/python-list
Re: Use Chrome's / Firefox's dev-tools in python
Ok, So here's a screenshot: https://ibb.co/2dtGr3c 1 is the website's scrollbar and 2 is Firefox's scrollbar. Seems like it uses a strange embed thing. The packet follows: https://pastebin.com/2qEkhZMN @Martin Di Paola: I sent you the pastebin password per email so that you're the only one who can access it, I just don't want anyone who passes by to be able to see my quotes... What is that CSS tag? I could try to disable it in the inspector. -- https://mail.python.org/mailman/listinfo/python-list
Re: Use Chrome's / Firefox's dev-tools in python
Found this: https://pastebin.com/fvLkSJRp with use-select tags. I'll try to use selenium and select the page. But using the JSON packet that's sent will still be more practical. -- https://mail.python.org/mailman/listinfo/python-list