begs / livestreamers Goto Github PK
View Code? Open in Web Editor NEWPython script for checking stream status for followed Twitch.tv channels
Python script for checking stream status for followed Twitch.tv channels
I'm getting this error message when trying to run this script. Any solutions I may be missing?
It would appear that this no longer works due to the API changes. I've verified that the OAuth token is formatted correctly.
Twitch API v3 shut down a few days ago and your live.py script no longer works.
Your script does send the header to request v5, but it doesn't do it properly.
Currently:
curl -s 'Accept: application/vnd.twitchtv.v5+json'
Fix:
curl -s -H 'Accept: application/vnd.twitchtv.v5+json'
Need to add the -H flag to send it as part of the header.
I've recently started getting a KeyError
when running the script. I'm only a dabbler in python and scripting but based on taking a look at the json returned by curl it seems that twitch is no longer returning _total
which is causing the try on line 19 to fail? Hope this information/report is helpful - I find this script very useful!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.