Re:I miss the programmable web (2021)
by quickthrower2 on Saturday July 30, 2022 @04:32AM
(#32285235)
Try it on a Tailwind & React based site. Lucky for a site like that it used NextJS so it has a lot of JSON state dumped in plaintext.
[ Parent
| on HN ]
I am asking for a concrete task challenge, not a kind of site or technology.
Re:I miss the programmable web (2021)
by quickthrower2 on Saturday July 30, 2022 @06:04AM
(#32285571)
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.
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.
Re:I miss the programmable web (2021)
by christophilus on Saturday July 30, 2022 @07:06AM
(#32285854)
Probably Tailwindcss.com, then?
No, like "the website X is heavily obfuscated but I wish I had a userscript that could make Y modification". I work on runtime code modification tech, and am mostly known for my work on iOS and jailbreaking. Someone saying "there exist apps that use this weird compiler that are difficult to patch" isn't useful: I need a specific app and a specific target like "the Orchid app is using Flutter, which has its own weird Dart to native compilation step, which is making it almost impossible for me to use the tools we already have available to add a button that automatically builds multi-hop accounts".