jardah
Joined 8 years ago
Joined 8 years ago
But you are right, after reading through it again, this section of the article should be improved.
It's bad that not everyone works like this; there are quite a lot of people who would rather brute-force a solution than think about it.
But that is why they only show recaptcha, you fill it in and you will get extemption cookie for 30 more requests :D
[ 0:{ "selector":".bloc-blanc > p:nth-child(1)" "text":" 0 école(s) correspondent à votre recherche " } ]
Also, looking at pinterest, it's server rendered through ReactJS, so there is #initial-state script tag with first few images preloaded as urls, so if you cared only about the images on top without scrolling then this is the safest bet.
For more advanced usage (like clicking, or submiting a search request) it would need to have some kind of scenario like: "Click on this" -> "wait till this loads" -> "type something here" -> "scroll to this" -> load data.
Which is possible with headless chrome, so the trick is to make it general and easy to use (something like recording what user does through chrome plugin). Maybe in future versions :)