Re: Use Chrome's / Firefox's dev-tools in python

2021-05-24 Thread max pothier
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

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-24 Thread max pothier
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

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-23 Thread Martin Di Paola
"unselectable text" not necessary means that it is an image. There is a CSS property that you can change to make a text selectable/unselectable. And if it is an image, it very likely that it comes from the server as such, so "intercepting" the packet coming from there will be for nothing: you

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-23 Thread Curt
On 2021-05-23, max pothier wrote: > Already tried this, only works for messages and not for homework etc. https://play.google.com/store/apps/details?id=com.androz2091.pronote_notifications&gl=FR Notifications pour Pronote vous permet de recevoir des notifications push lorsqu'une nouvelle note

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-23 Thread max pothier
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

2021-05-23 Thread Curt
On 2021-05-23, max pothier wrote: > @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://doc.index-education.com/fr-fr/pn/2018/N/Notification.htm Notifications dans PRONOTE  Para

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-23 Thread max pothier
@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

2021-05-23 Thread max pothier
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

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-23 Thread Curt
On 2021-05-21, max pothier wrote: > 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 > d

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-22 Thread Martin Di Paola
Hello, I'm not 100% sure but I think that I understand what you are trying to do. I faced the same problem a few months ago. I wanted to know when a particular blog posted a new article. My plan was to query the blog every day running a python script, get the list of articles it has and compari

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-21 Thread Chris Angelico
On Sat, May 22, 2021 at 3:55 AM max pothier wrote: > > 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

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-21 Thread max pothier
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

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-20 Thread Chris Angelico
On Fri, May 21, 2021 at 4:59 AM max pothier wrote: > > > > 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 > se

Use Chrome's / Firefox's dev-tools in python

2021-05-20 Thread max pothier
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 a