Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3008 Visualizações

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
Cancelar
Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
out. 23
43543
1
out. 23
5091
2
fev. 23
5506
1
dez. 22
4692
2
mar. 21
10895