21 ms·
Ok scrape data from manifold.markets
by quickthrower2 4y ago
Ok scrape data from manifold.markets
- lgas 4y agoDoes it change a lot? Because it's pretty easy as is... eg. % curl -s https://manifold.markets https://manifold.markets | htmlq '#__next > div > main > div.items-center.flex.flex-col > div > div.gap-8.flex.flex-col > ul > div > div > div > div.relative.flex-1.gap-3.pr-1.flex.flex-col > div.peer.absolute.-left-6.-top-4.-bottom-4.right-0.z-10 > a' will get you all the anchors for the stories on the home page, and from there it's easy to get any other part of the stories.
- quickthrower2 4y agoIt changes quite often. Since tailwind is utility based and not semantic it will likely break within the week.