İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2973 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Eki 23
43476
1
Eki 23
5044
2
Şub 23
5462
1
Ara 22
4638
2
Mar 21
10869