Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

unavailability #54

Open
torkus opened this issue Oct 26, 2019 · 5 comments
Open

unavailability #54

torkus opened this issue Oct 26, 2019 · 5 comments

Comments

@torkus
Copy link

torkus commented Oct 26, 2019

Unavailable atm as of 2019-09-27

Hey, @vargen2 - any chance we can get a download link happening again? Cheers

@vargen2
Copy link
Owner

vargen2 commented Oct 26, 2019

Program does not work atm. Have to find a workaround for cloudflare ddos protection.

@torkus
Copy link
Author

torkus commented Oct 26, 2019

Are you scraping the HTML or using the API?

I've never had a problem with their cloudflare protection before, but I have heard of others having a problem.

An unofficial interface for their API can be found here: https://twitchappapi.docs.apiary.io/#/reference

These aren't great, but here is an example of searching and an example of fetching an addon's details

Layday+Instawow (Python) use it too: https://github.com/layday/instawow/blob/master/instawow/resolvers.py#L96

@vargen2
Copy link
Owner

vargen2 commented Nov 12, 2019

@torkus Yes I'm scraping. Is that API official and free to use. Just the documentation that's unofficial?

@layday
Copy link

layday commented Nov 12, 2019

The API is used internally by the Twitch client - it's not meant for public use hence the lack of official documentation. I can't imagine they'd rather have you scrape the site than tap into their API though if that's what you're curious about.

@torkus
Copy link
Author

torkus commented Nov 12, 2019

Is that API official and free to use. Just the documentation that's unofficial?

correct on all counts.

it's not meant for public use

also definitely the case, but by being publicly available and also undocumented it means they can avoid any sort of user support or guarantees of stability. The results are pretty messy tbh and I think in it's current state they've merged several other APIs into it, but json is much more convenient to parse.

I was making about 330+ requests to the website before to generate the catalog wowman uses. With the API it's down to about 28.

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

No branches or pull requests

3 participants