I have also posted this on the Justin.tv forums and I think it may help some people out.I've made a script which makes it possible to easily get the source url from your twitch.tv videos.You can find it working here: http://www.fakegaming.eu/TwitchTV/download.php ALTERNATIVE URL: http://jeffro.fakegaming.eu/twitch.phpAnd here's the current source code (so people who know how this works could improve on this or implement the method that I use to access the API)Edit: Moved source code to http://jeffro.fakegaming.eu/twitchsource.txt due format issuesHope you guys enjoy this, if you have any questions or bugs or problems to report please post here or in the other thread or feel free to message me :)~Jeffro~
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
http://support.twitch.tv/discussion/comment/833#Comment_833
Would a download manager help with this issue, or only when people get 403 forbidden?
In order to get these two kinds of videos, I think it will do you a good favor to use Streaming Video Recorder, since it is not only works as a video download tool but also serves as a screen capture software. Therefore it can definitely help you record twitch.tv videos by capturing live video on PC screen, or directly downloading saved game videos.
but when I use link http://api.justin.tv/api/clip/show/311099048.xml
it gives me a link to first 2 hours of the video.
JDownloader recognizes 1st link but writes size = 862MB (it is exactly first 2 hours of a video).
How to download another parts of http://www.twitch.tv/sc2tv_ru/b/311099048 ?
Best wishes,
Kakadu
http://support.twitch.tv/discussion/comment/8124
Can you reupload the source code?
I would check them out :) thx!
http://bashtech.net/justin/source/clip-php.txt
Thx works well, and I can modify anything now, but I think I don't need to change that ^^
I know it's not the topic but, do you know a method to implement a "follow button" on my website?
If you embed the "video" on your website, you have no follow button above that. And I don't find anything in the twitch APi for that.
I optimized the Code a bit. Do it that way and you don't need a downloader.
I tested it with many variations of "javascript" popup and so on, nothing works. Only with a "manual" click in the URL it works, after I modified the code a bit.
http://www.dedra-sc.com/twitch.php
Test it with that video file:
http://www.twitch.tv/dedrasc/b/307502600
Ah, and the W3C invalid errors comes from the embed, also from the twitch thing :-\
My script is totally valid ^__^
I changed that script completly. There was so many things you don't need for the "download" functionality!
Now the PHP Code is much shorter, and I styled the HTML with CSS a bit ;) I tested it with many variations of "javascript" popup and so on, nothing works. Only with a "manual" click in the URL it works.
The W3C invalid code is from the embed (twitch), I can't do anything against that. My HTML-Code is valid.
The PHP Code is now 25 lines short !!! Original 43 Lines.
Heres the Script:
http://www.dedra-sc.com/twitch.php
Test it with that video file:
http://www.twitch.tv/dedrasc/b/307502600
And if you like, you can visit my website, if you are interessted in SC2! It's not finaly translated into english, but I will do that as quick as I can :)
http://www.dedra-sc.com
Ah, and the W3C invalid errors comes from the embed, also from the twitch thing :-\ My script is totally valid ^_^