Begging scripters for internet-TV "links" script... - Printable Version
+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (/forumdisplay.php?fid=27)
+--- Thread: Begging scripters for internet-TV "links" script... (/showthread.php?tid=25770)
- mynumbistongue - 2007-06-29 19:57
I dont know the guy didnt respond but why not try and develope a scriopt for alluc.org this site gives you direct links to movies and tv shows
- sh0stak - 2007-06-29 23:45
well I had never heard of alluc so I might give it a shot and use it as a template for when I figure out the tv-links urls. There are some things tv-links has the alluc doesn't so this wouldnt be a complete solution
- pvtschlag - 2007-06-30 00:29
I have been letting my dad test this all week long.(he has watched nothing else but shows on it) I think I will go ahead and release what I got so far later tonight/early morning.
As far as the links go it is really hard to explain. I basically just made the script act the same way a browser would when it is used to view the site.
- wvstephens - 2007-06-30 02:07
pvtschlag Wrote:I have been letting my dad test this all week long.(he has watched nothing else but shows on it) I think I will go ahead and release what I got so far later tonight/early morning.
Release it, release it... goes the little kid with the spoon... If you need to host it I will host it for you just drop me a msg here or email reptilenut(remove)@gmail.com
- BungaDunga - 2007-06-30 07:28
I did too reply, if you're talking about me, mynumbistongue. I just said I didn't know but would try it out.
I had a go at writing a scraper in PHP. Result:
Once you're on an episode page, click the "Link" link for a link to the actual .flv or .divx (good for downloading!). I'll work on it so you don't have to click that last link, it shouldn't be necessary. There's no player implemented but that shouldn't be hard. Speaking of which, I would think that trying to stream from an offsite source would trigger cross-site loading restrictions in flash.
It's really relatively easy to do, I knocked my version up in a few hours. I used an http-browser class that lets you easily make requests and so on. The following regexp seemed to work for most:
(God, I hate regular expressions. Pretend the slashes are there and think of the parentheses as wildcards.)
I then retrieved the "Location" header information for that use-once url to get the location it redirects to. I think there's a firefox extension out there that sends a url to XBMC from firefox; you should be able to use the url my thing gets. A Python solution is obviously much much better as you can get stuff right with the xbox.
Once pvtschlag releases his I really have to network my xbox. It's sitting down in my basement a wall and a room away from the nearest Cat5.
- BungaDunga - 2007-06-30 08:08
Whoops. I think I broke it. Fixing...
- BungaDunga - 2007-06-30 09:31
Fixed (can you edit posts?). It works for most episodes. One thing you can do is take the URL, paste it into VLC, and stream it with that. That way you can do deinterlacing and all that to make it look nicer than what you get with a flash player.
- rdeman - 2007-06-30 11:53
hi folks. could anybody please update me: I would love to watch the shows from http://tv-links.co.uk/ on my XBMC (especially the 'Lost' TV series) Now I have been reading the forum but I cannot find a final answer to this question:
Can I watch the shows on http://tv-links.co.uk/ on my XBMC and if yes, how?
- rdeman - 2007-06-30 11:55
I am pretty sure I can write some PHP or Java code that generates a RSS feed from http://tv-links.co.uk/ ... but.. how do I play RSS video feeds on the XBMC? Which plugin do I use?
deadelvis Wrote:Only thing that needs to be done is to convert the different pages to an rss feed, with each video link in <enclosure> tags. Done it before for another site using php and Snoopy class - http://sourceforge.net/projects/snoopy/ .
- pvtschlag - 2007-06-30 13:13
Please note that it still doesn't support playback for all of the videos yet.
Also I am VERY new to python and coding for xbmc so the GUI isn't the best.
If anybody wants to help out by coding that part to make it look better for everyone then please do it.
I am using rev8582 T3CH build, I do not know if or how well it will run on any others.
Hope the shows you want to watch are the ones working so far. >.<
- wvstephens - 2007-06-30 14:12
BungaDunga Wrote:Fixed (can you edit posts?). It works for most episodes. One thing you can do is take the URL, paste it into VLC, and stream it with that. That way you can do deinterlacing and all that to make it look nicer than what you get with a flash player.
Bunga thanks for scraping those links. I use the xbmcfox and it works good, your scarpings saves alot of time from click, click, click, click.... LOL. I have been watching most of my shows and movies from stage6 using xbmcfox, it is a process for getting the actual video link but works for me. Your scrapings will surely help me out.
- wvstephens - 2007-06-30 14:13
Thank you so much, nice Beta release I am watching Thundercats right now thanks to your tv-links script. Thank you very very much.
My thoughts - wvstephens - 2007-06-30 14:19
Ok here are my thoughts you did a great job, not everything works but hey I am happy with what I have. The only thing I would do is change the background from the blue to maybe black or the leave the background that color and change the text. Other than that looks good and thanks again.
- rdeman - 2007-06-30 17:53
wow, man nice job! I was just working on a set of PHP scripts using Snoopy, HtmlParser, RssGenerator, to do data mining and rip all links in order to generate a RSS feed from everything available at http://www.tv-links.co.uk
The plan was to feed this TVa-Links-RSS feed into a RSS Video player script running on my XBMC. I was just done finding a way to bypass that hashed 'once' links stuff.
Anyway: the approach to do this all from within a Python plugin running on the Xbox XBMC is mucho better. I just never tried Python. I like to help though.
My first test results: I am much intreste din watching the Lost TV Shows. Most files are hosted at Brightcove. Just try to play Episode 1 - Pilot Part 1 - http://www.tv-links.co.uk/link.do/1/53/5636/42181/62937
does this work for you guys? I just get audio, no video... ? great job though!
- pvtschlag - 2007-06-30 18:42
I just tried out the Lost Episode 1 - Pilot Part 1 and it seems to work for me, both the video and audio.