Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ok scrape data from manifold.markets


Does it change a lot? Because it's pretty easy as is... eg.

% curl -s 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.


It changes quite often. Since tailwind is utility based and not semantic it will likely break within the week.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: