Media Center Master community forums
http://forums.MediaCenterMaster.com/

Adult DVD Empire Plugin v2
http://forums.MediaCenterMaster.com/viewtopic.php?f=9&t=12368
Page 1 of 1

Author:  ruud [ August 18th, 2018, 11:08 am ]
Post subject:  Adult DVD Empire Plugin v2

Hi,

Its been a while and i thought i would share my latest plugin updates for Adult DVD Empire.

A few months ago AdultEmpire changed to TLS 1.2 which is NOT supported by the .NET framework in which MCM is written. So without a major code overhaul by Pete we can forgot native plugin support for scraping our adult content.

To work around this, I am using a reverse proxy called MITMproy and my own plugin.
Searches are redirected to the proxy, the scraped content is modified using regex changes
so downloading of pictures is also routed through the proxies.
Works like a charm overhere :-)

Get the proxy from https://mitmproxy.org

Fire up the proxies from the command line
(be patient, it takes a while for each proxy to start up)

start mitmdump -p 8281 --ssl-insecure --mode reverse:https://caps1cdn.adultempire.com
start mitmdump -p 8282 --ssl-insecure --mode reverse:https://caps2cdn.adultempire.com
start mitmdump -p 8383 --ssl-insecure --mode reverse:https://caps3cdn.adultempire.com
start mitmdump -p 8080 --ssl-insecure --mode reverse:https://www.adultdvdempire.com
start mitmdump -p 8181 --ssl-insecure --mode reverse:https://imgs1cdn.adultempire.com
start mitmdump -p 8182 --ssl-insecure --mode reverse:https://imgs2cdn.adultempire.com
start mitmdump -p 8183 --ssl-insecure --mode reverse:https://imgs3cdn.adultempire.com

For now this is the list of URL's I came across, if ADVD starts another webserver with content this needs to be included in the plugin!

Download the attached plugin, unpack the contents in the plugin directory located in C:\Users\xxx\AppData\Roaming\Peter Souza IV\Media Center Master\bin, restart MCM and configure MCM to use this plugin (adultdvdempire.com(digiwiz) instead.

Plugin supports backgrounds and actor thumbnails.

Plugin tries to filter out movie names that dont match up with the directory name.
If the movie isn't there you can look it up on the website, hit the IMDB button and enter the ID that Adult DVD uses (i.e. 2514997 in the URL https://www.adultdvdempire.com/2514997/ ... ovies.html) and the plugin will use that.

Attachments:
advde.zip [16.19 KiB]
Downloaded 46 times

Author:  leowoody [ August 19th, 2018, 11:53 am ]
Post subject:  Re: Adult DVD Empire Plugin v2

Doesn't work for me. MCM returns "Adult DVD Empire is online, but experiencing technical difficulties". Also the plugin states it's version as 1.2, not v2.0.

Author:  ruud [ August 20th, 2018, 2:08 am ]
Post subject:  Re: Adult DVD Empire Plugin v2

Hmm, seems I forgot to update the version number in the plugin, it should work just fine though. I attached new zip with correct version number in it.

The proxy that is needed for the actual search is:
Code:
mitmdump -p 8080 --ssl-insecure --mode reverse:https://www.adultdvdempire.com

Copy&paste this in a command prompt, wait until this message is displayed:
Code:
Proxy server listening at http://*:8080


Then start MCM, do a search and the following output should appear in the command prompt:
Code:
[::1]:49772: clientconnect
[::1]:49772: GET https://www.adultdvdempire.com/allsearch/search?q=Beyond+The+Call+Of+Booty+5
          << 200 OK 192.22k
[::1]:49772: GET https://www.adultdvdempire.com/1616682
          << 301 Moved Permanently 0b
[::1]:49772: GET https://www.adultdvdempire.com/1616682/beyond-the-call-of-booty-5-porn-movies.html
          << 200 OK 133.92k
[::1]:49772: clientdisconnect


In MCM, you should see something like
Code:
MCM:  [F#1] now working on Beyond The Call Of Booty 5 (2012)
AdultDVDEmpire:  Loading XML configuration from C:\Users\xxx\AppData\Roaming\Peter Souza IV\Media Center Master\bin\advde_digiwiz.xml
AdultDVDEmpire:  Searching : http://localhost:8080/allsearch/search?q=Beyond+The+Call+Of+Booty+5
AdultDVDEmpire:  Found series collection: Beyond the Call of Booty


Notice that when MCM starts downloading pictures it will not give any errors, but there will be no pictures on disk. For this to work you need the other proxies running as shown in my 1th post

Attachments:
advde_digiwiz.zip [16.18 KiB]
Downloaded 53 times

Author:  trickfilmjunkie [ August 30th, 2018, 2:58 am ]
Post subject:  Re: Adult DVD Empire Plugin v2

Took some time to get it working, but now its all good.

Thank you for your PlugIn!

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/