Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

World Of Spectrum not scraping #268

Open
HoraceAndTheSpider opened this issue Oct 27, 2020 · 8 comments
Open

World Of Spectrum not scraping #268

HoraceAndTheSpider opened this issue Oct 27, 2020 · 8 comments

Comments

@HoraceAndTheSpider
Copy link

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?

@muldjord
Copy link
Owner

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

@muldjord
Copy link
Owner

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

@HoraceAndTheSpider
Copy link
Author

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

@muldjord
Copy link
Owner

Thanks! :)

@leemm
Copy link

leemm commented Feb 6, 2022

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

@detain
Copy link

detain commented Jun 30, 2022

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
Copy link

detain commented Aug 2, 2022

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:

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

@muldjord
Copy link
Owner

muldjord commented Aug 3, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants