Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
oct 23
43460
1
oct 23
5038
2
feb 23
5457
1
dic 22
4633
2
mar 21
10867