Skip to content

Commit

Permalink
Release 0.6.3
Browse files Browse the repository at this point in the history
v 0.6.3 11-12-2016
- fixed Redtube.com
- fixed Xvideos.com
  • Loading branch information
Vashiel committed Dec 11, 2016
1 parent 107ea5f commit 8c59746
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion addons.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<addons>
<addon id="plugin.video.adulthideout" name="AdultHideout" version="0.6.2" provider-name="Vashiel">
<addon id="plugin.video.adulthideout" name="AdultHideout" version="0.6.3" provider-name="Vashiel">
<requires>
</requires>
<extension point="xbmc.python.pluginsource"
Expand Down
2 changes: 1 addition & 1 deletion addons.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
071faad58f9435f52fdd70287e76e3d8
fd1f63e883204a271d11f95ee6ef6d0c
2 changes: 1 addition & 1 deletion plugin.video.adulthideout/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.adulthideout" name="AdultHideout" version="0.6.2" provider-name="Vashiel">
<addon id="plugin.video.adulthideout" name="AdultHideout" version="0.6.3" provider-name="Vashiel">
<requires>
</requires>
<extension point="xbmc.python.pluginsource"
Expand Down
4 changes: 4 additions & 0 deletions plugin.video.adulthideout/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v 0.6.3 11-12-2016
- fixed Redtube.com
- fixed Xvideos.com

v 0.6.2 09-12-2016
- fixed xhamster.com
- Pornhub.com categories
Expand Down
16 changes: 9 additions & 7 deletions plugin.video.adulthideout/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def main():
add_dir('PornHub [COLOR yellow] Videos[/COLOR]', pornhub +'/video?o=cm', 2, logos + 'pornhub.png', fanart)
add_dir('PornkTube [COLOR yellow] Videos[/COLOR]', pornktube , 2, logos + 'pornktube.png', fanart)
# (removing pornsocket, till i find out how to handle this Error code 22)
add_dir('Pornsocket [COLOR yellow] Videos[/COLOR]', pornsocket + '/media-gallery.html?display=list&filter_mediaType=4&limitstart=0', 2, logos + 'pornsocket.png', fanart)
#add_dir('Pornsocket [COLOR yellow] Videos[/COLOR]', pornsocket + '/media-gallery.html?display=list&filter_mediaType=4&limitstart=0', 2, logos + 'pornsocket.png', fanart)
add_dir('PornXS [COLOR yellow] Videos[/COLOR]', pornxs + '/browse/sort-time/', 2, logos + 'pornxs.png', fanart)
add_dir('RedTube [COLOR yellow] Videos[/COLOR]', redtube + '/?page=1', 2, logos + 'redtube.png', fanart)
add_dir('Tube8 [COLOR yellow] Videos[/COLOR]', tube8 + '/newest.html', 2, logos + 'tube8.png', fanart)
Expand Down Expand Up @@ -547,8 +547,8 @@ def start(url):
add_dir('[COLOR lime]Sorting[/COLOR]', redtube , 8, logos + 'redtube.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', redtube + '/categories', 9, logos + 'redtube.png', fanart)
add_dir('[COLOR lime]Channels[/COLOR]', redtube + '/channel/recently-updated', 10, logos + 'redtube.png', fanart)
match = re.compile('window.location.href =\'([^"]+)\'">([:\d]+)</span>.+?<img title="([^"]+)".+?data-src="([^"]+)".+?alt=".+?"(.+?)</a>', re.DOTALL).findall(content)
for url, duration, name, thumb, dummy in match:
match = re.compile('<a href="([^"]+)" title="([^"]+)" class="video-thumb".+?>([:\d]+)</span>.+?data-src="([^"]+)".+?alt=".+?"(.+?)</a>', re.DOTALL).findall(content)
for url, name, duration, thumb, dummy in match:
name = name.replace('&#39;', ' ').replace('&amp;', '&').replace('&quot;', '"').replace(' ', '')
if 'hd' in dummy:
add_link(name + '[COLOR yellow]' +' [HD]' +'[/COLOR]' +' [COLOR lime]('+ duration + ')[/COLOR]', redtube + url, 4, 'http:' + thumb, fanart)
Expand Down Expand Up @@ -735,7 +735,7 @@ def start(url):
name = name.replace('&amp;', '&').replace('&quot;', '"').replace('&#39;', '`')
add_link(name + ' [COLOR lime]('+ duration + ')[/COLOR]', xvideos + url, 4, thumb, fanart)
else:
match = re.compile('<a href="([^"]*)"><img src="([^"]*)".+?</script></div>(.+?)</div>.+?title="([^"]*)".+?<strong>(.+?)</strong>', re.DOTALL).findall(content)
match = re.compile('<a href="([^"]*)"><img src="([^"]+)".+?/></a>(.+?)</div>.+?title="([^"]*)".+?<strong>(.+?)</strong>', re.DOTALL).findall(content)
for url, thumb, dummy, name, duration in match:
name = name.replace('&amp;', '&').replace('&quot;', '"').replace('&#39;', '`')
if 'HD' in dummy:
Expand Down Expand Up @@ -928,11 +928,11 @@ def motherless_being_watched_now(url):
def redtube_sorting(url):
home()
content = make_request(url)
match = re.compile('<a href="([^"]*)" onclick=\"return setCookie\(\'linkId\', \'(new|hot|top|recommended|mostviewed|mostfavored|longest)\', 2000\);\">(.+?)</a>', re.DOTALL).findall(content)
match = re.compile('<a href="([^"]*)" class="js_setCookieHandle" data-op="linkId" data-what="(new|hot|top|recommended|mostviewed|mostfavored|longest)" data-ttl="2000">(.+?)</a>', re.DOTALL).findall(content)
for url, name, dummy in match:
dummy = dummy.replace(' ','').replace(' ','')
name = dummy
add_dir(name , redtube + url, 2, logos + 'redtube.png', fanart)
add_dir(name , redtube + url, 2, logos + 'redtube.png', fanart)

def redtube_categories(url):
home()
Expand Down Expand Up @@ -1517,7 +1517,9 @@ def resolve_url(url):
except:
media_url = re.compile('file: "(.+?)","default":true, label: "HD 720p"},').findall(content)[0]
elif 'javtasty' in url:
media_url = re.compile('var video_hd=\'(.+?)\';').findall(content)[0]
media_url = re.compile('var video_hd=\'(.+?)\';').findall(content)[0]
elif 'rude.com' in url:
media_url = re.compile('file: "(.+?)", type:').findall(content)[0]
else:
media_url = url
item = xbmcgui.ListItem(name, path = media_url)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v 0.6.3 11-12-2016
- fixed Redtube.com
- fixed Xvideos.com

v 0.6.2 09-12-2016
- fixed xhamster.com
- Pornhub.com categories
Expand All @@ -6,6 +10,7 @@ v 0.6.2 09-12-2016
- Removed YouAv.com
- Added JavTasty.com


v 0.6.1 17-11-2016
- bug fix

Expand Down
Binary file not shown.

0 comments on commit 8c59746

Please sign in to comment.