Eldorado Wrote:Take out the %20's and replace them with spaces or plus signs, then give er a go
This is the exact url that I'm passing from my logs:
Code:
15:10:09 T:772 DEBUG: Project Free TV: adding dir: 1960's And Earlier - plugin://plugin.video.projectfreetv/?url=http%3A%2F%2Fwww.free-tv-video-online.me%2Fmovies%2F1960%27s+and+earlier§ion=movies&mode=movieslist
ah, it's not getting url encoded enough times. the path part of the url needs to be valid and urlencoded before passing it to add_video_item() (looks like you are passing "http://www.free-tv-video-online.me/movies/1960's and earlier"?) - is it not urlencoded where you are scraping it from? if it is already urlencoded there is a bug somewhere in my code - can you post the code that causes this to fail and i'll take a look.
edit: guess it is not properly encoded on the site:
Code:
<a href="1960's and earlier">running just that bit through urllib.quote() before appending it to the rest of the URL should do the trick!
t0mm0


Search
Help