• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 15
[RELEASE] Fantasti.cc (Adult) Video Plugin
#46
Backed out anarchintosh's changes since it seemed to break a lot of things. We will reintroduce them when its a bit more polished.
Reply
#47
I had a problem using the latest svn, the login function would not work. After a bit of debugging, it appears that "icon" is passed in to the "NOTIFY" function as None, and an error (cant concatenate str and NoneType) occurs.

Not sure if this is a legitimate defect or if I had something configured wrong?
Reply
#48
Any chance of adding support for the community uploads on fantasti.cc?
Reply
#49
Anyone else having any problems with this plugin? I can't get any videos to play.
Reply
#50
Icarus3000 Wrote:Anyone else having any problems with this plugin? I can't get any videos to play.

Ya, I've had that same issue for at least a couple of weeks now.

As always, here's the log-http://db.tt/OG7UG5F
Image
Image
Reply
#51
Is this plugin even being worked on any more?
Image
Image
Reply
#52
Would be nice if someone could fix this, it mostly seems to be a problem with videos from xhamster.com.
Reply
#53
I have a few fixes for the plugin.

To begin, I added something to the beginning of GET_LINK, just under the 1st get_html():

Code:
    html = get_html(url)
    rUrl,mType = re.compile('<a (?:style="color:#BBB;"|id="side_sitelink") href="(.*?)" target="_blank" rel="nofollow"[^>]*>(.*?)</a>').findall(html)[0]

That is also just above the check for collections (which, actually because of this isn't needed. you can just use mType). with this gives you mType, which is the name of the media page i.e.: pornhub, redtube, ect... the 2nd thing is rUrl, which is the real url to the page where the video is hosted. This allows easier access to the page if need be. Cuts down on coding and http requests.

along with that i added a fix to pornhub. some times it seems that pornhub returns CDATA content with their urls. should really use an XML dom parser, but i really don't know python much at all so i just modified the regex

Code:
match = re.compile(

                '<video_url>(?:<!\[CDATA\[)?(.+?)(?:\]\]>)?</video_url>',
                re.IGNORECASE

                ).findall(html)

I also added madthumbs (this uses the rUrl and mType)

Code:
    elif mType == "madthumbs":
            for gurl in re.compile('<source src="(.*?)"').findall(get_html(rUrl)):
                return gurl
            return False
Reply
#54
2 more scraper quick-fixes in the patch at http://code.google.com/p/xbmc-adult/issues/detail?id=11
Reply
#55
sorry to ask where do we apply this patch in what directory on ATV
thanks
Reply
#56
Smile 
dallasnights Wrote:sorry to ask where do we apply this patch in what directory on ATV
thanks

the file you looking for is default.py

it is located in

/private/var/mobile/Library/Preferences/XBMC/addons/plugin.video.fantasticc/

I just did the patches manualy like is mentioned in cheeky's link. (3 comment). I did have to make one change.

when replacing this line

fetchurl = 'http://xhcdn.com/key=' + urllib.quote(each)

replace the ' with ".

he ' was causing errors and as far as I can tell did not line up with the syntax.

thanks for the link Cheeky... worked great for me... no more annoying cant watch videosSmile.
Reply
#57
southloven or anyone can you share your modified default.py please, I can not figure out how to make these changes correctly for ATV, thank you

Edit: Nevermind figured it out thanks everything works great
Reply
#58
dallasnights Wrote:southloven or anyone can you share your modified default.py please, I can not figure out how to make these changes correctly for ATV, thank you

Edit: Nevermind figured it out thanks everything works great

I'm having the same problem. How did you figure it out?
Reply
#59
use this default.py relplace in Fantasti directory
Works great for me on ATV2

https://skydrive.live.com/?cid=A821DE4EF...A14FF7!111
Reply
#60
dallasnights Wrote:use this default.py relplace in Fantasti directory
Works great for me on ATV2

https://skydrive.live.com/?cid=A821DE4EF...A14FF7!111

Thank you, it does work great on the ATV and Mac.
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 15

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Fantasti.cc (Adult) Video Plugin4