Is this possible? a unified movie browser
#1
ok,
so i am a bit of a newbie. i am just getting into learning python. so i am not planning on doing this script for a while.
but would it be possible to:
have a script that opens up,
from there you would select a web site (ethier off a list or type in)
then it goes to the web site and recrusively sreachs the links. finds all the media and then reports back, giving the user the links.

i dont know enough to know if this is plasable. but if it could work you would have the ability to add any site, and any changes they make (ifrim springs to mind) would have no relavance on the script.

am i just blowing smoke here?
jt
Reply
#2
most websites present data in different ways that you would want to parse with something like regular expressions (which is what pretty much all of the current scripts do nowadays)....
remember that most links are not going to be movies and it is pretty hard to tell which link is a movie in a general sence purely programatically. plus you may have to redirect to a seperate movie page and you may only see the movie in an embedded tag.

what you could do is define a very general interface for different sites and parse small easy-to-create configs that contain the parsing information for different sites but this is pretty hard to do well and in a general way considering all the variations out there. the media browser script sorta does this but the parsing modules are pretty big scripts in themselves so it doesnt seem to save much.
Reply
#3
i already thought in this kind of script !
i think it could work, maybe not for all websites, but it could for many.
this script can try to catch direct links such as :
http://...... .wmv
http://...... .ram
http://...... .rm
http://...... .mov
aso...
it can do a list of those links
then it can do another list of all <a href=.. links it found on the webpage. when you select one of those links, it asks you what you want to do : follow the link / download ....
i think it could be an amazing script catching nearly everything on the www ! lol
Reply
#4
again i suspect this wouldnt work for most sites since the sites with interesting videos rarely have a page full of wmv links.. its always links to pages with embedded players or redirects to a file server page that autodownloads the link etc...
Reply
#5
l am already working on this.  even though if is not fully generic. but l am working on a unified browser, so you don't have to create a new script every time.
you just need to derive from a baseless and perform the parsing. you put your class in an own file and put that in a folder. that's it!
maybe i can release it this weekend.
it just needs some finetuning before releasing it..

bernd
Reply
#6
if you need some tests and/or help, i'm yours !!

see ya
Reply
#7
add me to that list. any help i can offer.
jt
Reply
#8
i finished my script. (see this thread)

its not exactly the all mighty unified browser.
but it is a step closer to the unified browser.

you need still implememnt the html/xml parsing, but you don't need to create a complete script.

if you're pythonist, feel free to create your own plug-ins and extend it.
if you need help with that contact me and i will open a thread in the python scripts development forum.

bernd
Reply
#9
have only had a little time to play with it. but it looks like it came together nicely.
i bet we will be able to add a lot of sites to this.
jt
Reply

Logout Mark Read Team Forum Stats Members Help
Is this possible? a unified movie browser0