Sep-10-2018, 12:05 PM
i Tried it with a couple of pages, and I couldn't find anything using xpath.
Took a while to get through that, but the hack seems to work fine. I'd be curious as to why, perhaps later, I'll try to diff the two files, but no time for that now.
Quote:Onec I downloaded with requests and saved thatm the same xpath worked fine.there is something definately wierd about this site. It was built with wix, and full of Ajax (I think) code.
There might be something weird with whatever site you are going to (like an iframe). You do of course you have to make sure that the page fully loads between browser.get and browser.page_source. I've been bit by that so many times.
Took a while to get through that, but the hack seems to work fine. I'd be curious as to why, perhaps later, I'll try to diff the two files, but no time for that now.