Does anyone have a local copy of zompist.com?

Topics that can go away
User avatar
WarpedWartWars
Posts: 204
Joined: Sat Aug 28, 2021 2:31 pm
Location: tɑ tɑ θiθɾ eɾloθ tɑ moew θerts
Contact:

Re: Does anyone have a local copy of zompist.com?

Post by WarpedWartWars »

Torco wrote: Fri Jul 28, 2023 9:00 am may i suggest beautifulsoup? manually parsing html is possible, i've done it, but it's almost always simpler to just have someone else's code do it for you.
Ideally I'd use a headless browser, preferably one that supported JS, in a way that I can both control it from the Python program (likely not a problem) and also intercept (and probably also cancel) all HTTP requests from the program.
kaêdẑ ac kodẑ vanén etan voâl
ve doâ alber noâ ful dobedẑ
cāêr mıdẑ noâ mūdẑr bet ful
paêl noâ mur gen dobedẑ
Torco
Posts: 845
Joined: Fri Jul 13, 2018 9:11 am

Re: Does anyone have a local copy of zompist.com?

Post by Torco »

pretty sure beautyfulsoup works fine with selenium, which in turn can run in headless mode. I don't know other scraping tools in python for this purpose, but they should be indifferent: still, i suppose it would be easier to ask zomp to give you the files in a pendrive and store it however you were going to store it ? (supposing he's okay with you archiving the site: if he's not, possibly don't do it?)
Post Reply