跳至內容
選單
此問題已被標幟
1 回覆
2995 瀏覽次數

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 !

頭像
捨棄
作者 最佳答案

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 ! 


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 23
43493
1
10月 23
5066
2
2月 23
5470
1
12月 22
4644
2
3月 21
10879