Comments (10)
You've ran into this issue because Twitch recently changed the Helix API endpoint to require OAuth authentication. I might fix this in the future.
https://discuss.dev.twitch.tv/t/requiring-oauth-for-helix-twitch-api-endpoints/23916
from twitchtube.
Here : https://github.com/epsilon573/myTwitchBot
This doesn't automatically upload to Youtube though.
from twitchtube.
I will take a look at this and see if I can find the issue.
from twitchtube.
I got it, fix this please ;) I will be waiting. P.S i am new in programming, so i cant help you, but your script is AMAZING! Keep going =)
from twitchtube.
Ok , I have fixed it.
Replace thumb_url = clip_info['data'][0]['thumbnail_url']
with thumb_url = clip_info['thumbnails']['medium']
You may also need to replace a few more things. Just request a clip JSON file from twitch and change accordingly.
Also, I am using an authentication token, Not sure if you need it too.
from twitchtube.
Ok , I have fixed it.
Replace
thumb_url = clip_info['data'][0]['thumbnail_url']
withthumb_url = clip_info['thumbnails']['medium']
You may also need to replace a few more things. Just request a clip JSON file from twitch and change accordingly.
Also, I am using an authentication token, Not sure if you need it too.
Fixed, sends me error key
twitchtube | 01:13:05 - info: Starting to make a video for Rust Traceback (most recent call last): File "C:\twitch\twitchtube-master2\main.py", line 29, in <module> names = download_clips(clips, VIDEO_LENGTH, path) File "C:\twitch\twitchtube-master2\dist\clips.py", line 97, in download_clips download_clip(data[clip]["url"], path) File "C:\twitch\twitchtube-master2\dist\clips.py", line 36, in download_clip mp4_url, clip_title = get_clip_data(slug) File "C:\twitch\twitchtube-master2\dist\clips.py", line 14, in get_clip_data thumb_url = clip_info['thumbnails']['medium'] KeyError: 'thumbnails'
from twitchtube.
I recommend using python-twitch client and writing your own script.
from twitchtube.
I recommend using python-twitch client and writing your own script.
I am writting on another language script, but its TOO difficult. I would like to someone fixed this script, because i just dont know python language. I wasted 3 days to fix script and read python forums and manuals, but with no results.
from twitchtube.
Here : https://github.com/epsilon573/myTwitchBot
This doesn't automatically upload to Youtube though.
Thanks a lot! But i have a problem. Thats says to me (i only set Client Id and Oauth)
Upd. Set duration videos in end of file, no results
Upd2 - I fixed your bug, still sends me "An Unexpected Match Score!"
Can you help me with answer? Where i need to search code to upload videos on Youtube?
D:\IDM_DOWNLOADS\myTwitchBot-master>C:\python383\python.exe D:\IDM_DOWNLOADS\myT witchBot-master\main.py An Unexpected Match Score! ...100% Video Downloaded Traceback (most recent call last): File "D:\IDM_DOWNLOADS\myTwitchBot-master\main.py", line 163, in <module> download_clips(data, "--required-video-length--" ) File "D:\IDM_DOWNLOADS\myTwitchBot-master\main.py", line 137, in download_clip s length -= data[clip]["duration"] TypeError: unsupported operand type(s) for -=: 'str' and 'float'
from twitchtube.
Just search on github, I think you will find plenty.
from twitchtube.
Related Issues (20)
- Having issues uploading on youtube
- NoClipsFound exception HOT 1
- Error uploading on Youtube HOT 1
- Heelp!!
- Heelp!! HOT 2
- Unable to find clips for specific streamers
- Upload video in private
- force video render by gpu instead of cpu HOT 3
- Cannot fix this error help HOT 1
- There was an error Message: Element <div id="text box" class="style-scope ytcp-social-suggestions-textbox"> could not be scrolled HOT 1
- error while uploading on youtube HOT 1
- Firefox HOT 1
- Connection error at home, but works at the library HOT 1
- it does not work!!! HOT 1
- Error when trying to upload the video HOT 2
- Blacklisting Games Not Working HOT 1
- Filter by game only for some streamers HOT 1
- YouTube Shorts
- please help me out in this after rendering it shows this
- When trying to upload on youtube
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitchtube.