vdeku / xbmc-adult

Automatically exported from code.google.com/p/xbmc-adult
0 stars 0 forks source link

a patch for plugin.video.you.jizz #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I found there's a change in youjizz.com which cause the current plugin stop 
working. 

I've updated the default.py locally. Also like to share it. I'm using a Win7 
now, not familiar with the tools. so I'll just share the changes here. Feel 
free to merge to your source.

1. remove the duplicate entries in CATEGORIES()
  - commented out first addDir for 'Search' and 'Home'

2. update the regex in INDEX() 
  - matchname=re.compile('title1">[\n]{0,1}\s*(.+?)<').findall(link)
added "\s*" after [\n]{0,1} to work with 'Search' result, because there's some 
empty space with the return result.

  - matchduration=re.compile('thumbtime\'><span.*>(\d{1,}:\d{2})').findall(link)

this is the main problem cause the problem. seems the layout was changed.

Original issue reported on code.google.com by luowenhui.tim@gmail.com on 14 Apr 2013 at 6:37

GoogleCodeExporter commented 9 years ago

Original comment by mrdougqu...@gmail.com on 16 Apr 2013 at 2:58

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r214.

Original comment by mrdougqu...@gmail.com on 17 Apr 2013 at 3:13