Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2972 Weergaven

Hi all ! 

I'm trying to scrap my Odoo's inventory pages to be able to get all the pictures already in the DB, more than 9000, so i wrote a python script using selenium, it works like a charm but not on my Odoo's pages, the fact is that on Odoo's inventory pages i think the source code is genreated by AJAX or Js or something else. So when i try to scrap it i won't have the good source, so i cannot get the elements. I really don't want to have to download the 9000+ images and names by hand, if someone know how to capture the good source code could you please tell me ?

Thanks !

Avatar
Annuleer
Auteur Beste antwoord

I finally ended up with a solution that you can see here :

https://stackoverflow.com/questions/70392603/how-to-get-good-source-code-in-odoo-to-be-able-to-use-with-selenium/70408473#70408473


As usual copy/paste link ! 


Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
okt. 23
43476
1
okt. 23
5044
2
feb. 23
5462
1
dec. 22
4638
2
mrt. 21
10869