skyscraper icon indicating copy to clipboard operation
skyscraper copied to clipboard

World Of Spectrum not scraping

Open HoraceAndTheSpider opened this issue 4 years ago • 8 comments

World of Spectrum appears to no longer be scraping. FIles are named as pretty much just the game name.

It looks like the style of the site has changed, so i guess this would need adaptation.

There is also a newer ZX database here: https://spectrumcomputing.co.uk/ that was intended by many to replace WoS ... might be worth considering?

HoraceAndTheSpider avatar Oct 27 '20 12:10 HoraceAndTheSpider

Do you know the people behind spectrumcomputing.co.uk? I need permission to scrape from them.

muldjord avatar Oct 27 '20 13:10 muldjord

WoS now has an API it seems. It requires a key. If you can provide me with one, I can update the implementation.

muldjord avatar Oct 27 '20 13:10 muldjord

I don’t but I’ll get on the case :)

HoraceAndTheSpider avatar Oct 27 '20 16:10 HoraceAndTheSpider

Thanks! :)

muldjord avatar Oct 27 '20 17:10 muldjord

Hate to bring this up again but I assume this was never fixed?

leemm avatar Feb 06 '22 21:02 leemm

This is how you use the new API, and you can just use 'test' as the API key. you need to follow redirects (301) as well (hence the -L option)

curl -s -L "http://worldofspectrum.org/infoseek/api/software?X-API-KEY=test&title=yumiko+in+the+haunted+mansion"

Returns a JSON like

{"count":1,"totalRecords":"1","titles":[{"id":24171,"title":"Yumiko in the Haunted Mansion","slug":"yumiko-in-the-haunted-mansion-fun-forge","turn_types_text":null,"turn_type_id":null,"availability_id":"1","availability_text":"Available","no_players":"1","entry_type_id":"11","entry_type_text":"Arcade: Maze","entry_group":"games","is_x_rated":"0","is_crap":"0","comments":null,"roles":[{"role":"Music","role_slug":"music","person":"Yerzmyey","person_slug":"yerzmyey","person_id":"6163","role_id":"22241"},{"role":"(Unknown)","role_slug":"unknown","person":"Leszek Chmielewski Daniel","person_slug":"leszek-chmielewski-daniel","person_id":"1460","role_id":"22242"},{"role":"(Unknown)","role_slug":"unknown","person":"Yerzmyey","person_slug":"yerzmyey","person_id":"6163","role_id":"22243"}],"features":[{"id":"37","feature":"TR-DOS Support","slug":"tr-dos-support"}],"controls":[{"id":"2","control":"Interface 2 (right)","slug":"interface-2-right"},{"id":"4","control":"Kempston","slug":"kempston"},{"id":"5","control":"Redefinable Keys","slug":"redefineable-keys"}],"themes":[],"series":[],"publishers":[{"id":"4604","name":"Fun Forge","slug":"Fun-Forge"}]}]}

detain avatar Jun 30 '22 13:06 detain

Also There is a DB at zxdb/ZXDB which I believe is tied to https://api.zxinfo.dk/v3/ It seems to be a db combining all of these zx spectrum sites:

  • http://www.worldofspectrum.org/
  • http://www.zxspectrumreviews.co.uk/
  • http://www.rzxarchive.co.uk/
  • http://www.users.globalnet.co.uk/~jg27paw4/spot-on/

I plan on updating my fork of skyscraper to use the new WoS api and hopefully incorporate this as well.

detain avatar Aug 02 '22 23:08 detain

I started working on implementing the new API when you wrote the last message, but if you end up doing so, a PR would be appreciated for that feature. Thanks. I doubt I will complete my implementation anytime soon.

muldjord avatar Aug 03 '22 10:08 muldjord