The following code block adds support for xtube in fantasti.cc
1. Substitute this line:
'tube8', 'xhamster', 'xvideos', 'you_porn']
with this line:
'tube8', 'xhamster', 'xtube', 'xvideos', 'you_porn']
2. Add this to the corresponding block of default.py
elif 'xtube' in url:
match = re.compile('(http://www.xtube.com/.+?)"').findall(html)
html = get_html(match[0])
match = re.compile('videoMp4 = "(.+?)"').findall(html)
for each in match:
fetchurl = each.replace('\\', '')
print 'fetchurl: %s' % fetchurl
return fetchurl
Original issue reported on code.google.com by leonmar...@gmail.com on 20 Aug 2013 at 9:18
Original issue reported on code.google.com by
leonmar...@gmail.com
on 20 Aug 2013 at 9:18