Re:I miss the programmable web (2021)
by quickthrower2 on Saturday July 30, 2022 @06:04AM
(#32285571)
Ok scrape data from manifold.markets
[ Parent
| on HN ]
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.
Re:I miss the programmable web (2021)
by quickthrower2 on Saturday July 30, 2022 @08:33AM
(#32286283)
It changes quite often. Since tailwind is utility based and not semantic it will likely break within the week.