AdultDVDEmpire Scraper

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Mordred Offline
Junior Member
Posts: 33
Joined: May 2011
Reputation: 0
Post: #41
Minor update to increase search results (with possible side effect of some dupes):

http://www.mediafire.com/?uzllagm199l7ud6
find quote
Karl Smart Offline
Junior Member
Posts: 2
Joined: Feb 2012
Reputation: 0
Star    Post: #42
Don't know how to properly submit this, but the nfourl is incorrectly grabbed in the scraper. Should be like this:
Code:
<NfoUrl dest="3">
    <RegExp input="$$1" output="&lt;url&gt;http://www.\1&lt;/url&gt;" dest="3">
        <expression noclean="1">(adultdvdempire.com/\d+/\S+)</expression>
    </RegExp>
</NfoUrl>
I happen to use that feature a lot. Hope someone will add it to the next update.
find quote
PureHemp Offline
Junior Member
Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #43
Recently this scraper stop working. I had a little time yesterday, so i fix it Wink There might be some errors cause i'm not so good with RegExp Confused

Paste this code to:
c:\Users\<user>\AppData\Roaming\XBMC\addons\metadata.movie.adultdvdempire.com\adultdvdempire​.xml

Have fun Big Grin

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<scraper framework="1.1" date="2010-06-07" name="Adult DVD Empire" content="movies" thumb="adultdvdempire.jpg" language="en">
    <NfoUrl dest="3">
        <RegExp input="$$1" output="&lt;url&gt;http://www.\1&lt;/url&gt;" dest="3">
            <expression noclean="1">(adultdvdempire.com/\d+/\S+)</expression>
        </RegExp>
    </NfoUrl>
    <CreateSearchUrl dest="3">
        <RegExp input="$$1" output="&lt;url&gt;http://www.adultdvdempire.com/AllSearch/Search?pageSize=20&view=list&q=\1&lt;/url&gt;" dest="3">
            <expression noclean="1" />
        </RegExp>
    </CreateSearchUrl>
    <GetSearchResults dest="6">
        <RegExp input="$$5" output="&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot; standalone=&quot;yes&quot;?&gt;&lt;results&gt;\1&lt;/results&gt;" dest="6">
            <RegExp input="$$1" output="&lt;entity&gt;&lt;title&gt;\2&lt;/title&gt;&lt;url&gt;http://www.adultdvdempire.com/general/\1&lt;/url&gt;&lt;/entity&gt;" dest="5">
                <expression repeat="yes" trim="1,2">&lt;p class="title"&gt;&lt;a href="/([^"]*)" title="([^"]*)</expression>
            </RegExp>
            <expression noclean="1" />
        </RegExp>
    </GetSearchResults>
    <GetDetails dest="3">
        <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="3">
            <RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="5+">
                <expression>&lt;div id="Boxcover"&gt;&lt;a href="([^"]*)"</expression>
            </RegExp>
            <RegExp input="$$1" output="&lt;thumb&gt;\1bh.jpg&lt;/thumb&gt;" dest="5+">
                <expression>&lt;div id="Boxcover"&gt;&lt;a href="([^"]*)h\.jpg"</expression>
            </RegExp>
            <RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="5+">
                <expression>&lt;h1&gt;(.*?)&lt;/h1&gt;</expression>
            </RegExp>
            <RegExp input="$$1" output="&lt;studio&gt;\1&lt;/studio&gt;" dest="5+">
                <expression>Studio&lt;/strong&gt;[^&gt;]*.([^&lt;]*)</expression>
            </RegExp>
            <RegExp input="$$1" output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">
                <expression trim="1">Production Year&lt;/strong&gt;.([^&lt;]*)</expression>
            </RegExp>
            <RegExp input="$$1" output="&lt;tagline&gt;\1&lt;/tagline&gt;" dest="5+">
                <expression>Tagline"&gt;([^&lt;]*)</expression>
            </RegExp>
            
            <RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
                <expression>&lt;/p&gt;&lt;p&gt;(.*?)&lt;/p&gt;&lt;/div</expression>
            </RegExp>
            
            <RegExp input="$$1" output="&lt;actor&gt;&lt;name&gt;\2&lt;/name&gt;&lt;thumb&gt;http://cdn3a.adultempire.org/actors/\1.jpg&lt;/thumb&gt;&lt;/actor&gt;" dest="5+">
                <expression repeat="yes">&lt;a href="/(\d+)/[\w-]*?-pornstars.html" class="PerformerName"&gt;([^&lt;]+)</expression>
            </RegExp>
            <RegExp input="$$1" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
                <expression repeat="yes">&lt;a href="http://www.adultdvdempire.com/[0-9]+/category/[^&gt;]*.([^&lt;]*)</expression>
            </RegExp>
            <RegExp input="$$1" output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="5+">
                <expression trim="1">Length&lt;/strong&gt;.([^&lt;]*)</expression>
            </RegExp>
            <RegExp input="$$1" output="&lt;mpaa&gt;\1&lt;/mpaa&gt;" dest="5+">
                <expression>Overall Rating: ([^&lt;]*)</expression>
            </RegExp>
            <RegExp input="$$1" output="&lt;director&gt;\3&lt;/director&gt;" dest="5+">
                <expression repeat="yes">&lt;a href="/([0-9]*)/(.*)-directors.html" class="PerformerName"&gt;([^&lt;]*)</expression>
            </RegExp>
            <expression noclean="1" />
        </RegExp>
    </GetDetails>
</scraper>
(This post was last modified: 2012-06-08 20:31 by PureHemp.)
find quote
gbuffry Offline
Junior Member
Posts: 8
Joined: Oct 2011
Reputation: 0
Post: #44
I am having some problems with this - the scraper seems to have stopped working and comes up with the 'unable to connect to remote server' message... Is this because the scraper is down?

I wasn't able to see where the above code / mediafire download should be put on a Mac

Any help would be greatly appreciated
find quote
nozomi Offline
Member
Posts: 51
Joined: May 2010
Reputation: 0
Post: #45
(2012-06-08 19:30)PureHemp Wrote:  Recently this scraper stop working. I had a little time yesterday, so i fix it Wink There might be some errors cause i'm not so good with RegExp Confused
Thank you for the fix! Allt the adult scrapers have been broke for a while now. Awesome that you fixed AdultDVDEmpire Big Grin

gbuffry: go to your User library > Application Support > XBMC\addons\metadata.movie.adultdvdempire.com\adultdvdempire​.xml
(This post was last modified: 2012-06-13 18:31 by nozomi.)
find quote
gbuffry Offline
Junior Member
Posts: 8
Joined: Oct 2011
Reputation: 0
Post: #46
Thank you both - works perfectly!! Much appreciated!
find quote
muzicman73 Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #47
How would I add this to a zip file to easily load into my atv2? Sorry, fairly new to this, still learning.
find quote
olympia Online
Team-XBMC Member
Posts: 2,379
Joined: May 2008
Reputation: 30
Post: #48
I would rather suggest to use this trick with tmdb:
http://forum.xbmc.org/showthread.php?tid=130827

You will get a much more stable scraper...
find quote
Neumahn Offline
Donor
Posts: 44
Joined: Jun 2011
Reputation: 0
Post: #49
Do the adult movies need to appear in the MOVIES section or is it possible to setup XBMC to have an Adult menu page?
find quote
Broken9754 Offline
Junior Member
Posts: 40
Joined: Jun 2012
Reputation: 0
Post: #50
(2012-06-22 20:52)Neumahn Wrote:  Do the adult movies need to appear in the MOVIES section or is it possible to setup XBMC to have an Adult menu page?

I'm really new at this so this might be a really stupid way to do this, but I think with some skins you could... For example, I use Aeon Nox, which allows me to create custom menu items. So disable regular movies link, create a custom link called "Movies" that links to a playlist that excludes adult content (very easy to do as long as you keep them in different directories). Then create a custom link called "Adult" that links to a playlist for adult movies only. Then you should have those two options right there at the main menu I would think. If you don't mind having them in the submenu (that's how I set it up) it's pretty much the same thing, just don't disable your usual movies link. The only reason I suggest disabling it and creating your own is that's the only way I can think of to have the main "Movies" link display movies but exclude adult. I wouldn't be the least bit surprised if there were an easier way though, I just don't know enough yet.
(This post was last modified: 2012-07-06 02:08 by Broken9754.)
find quote
Post Reply