[REL] ExcaliburFilms Agent

Adult DVD Movies and Porn Stars
This is my first metadata agent for Plex, seems to work pretty well.

Code here: https://github.com/vofik/ExcaliburFilms.bundle

Download here: https://github.com/vofik/ExcaliburFilms.bundle/zipball/master
1 Like


Thanks a lot! Was looking for this one for a while. Has always worked great for me in the past with XBMC in combo with AdultDvdEmpire.



Hey vofik,

Your agent works great! You rock for posting it.

Not sure if you're still able to work on it, but I have a request to make it even better.

Could you add genre and starring actor thumbnails to it?

Genre - it looks like excalibur films calls it Fetish on the movie page
Actor thumbs - it looks like excalibur stores them all here under this path (from what I've seen from 3-4 tests so far.
http://images.excaliburfilms.com/pornlist/starpicsAA020309/firstname_lastname.jpg

eg. http://images.excaliburfilms.com/pornlist/starpicsAA020309/Austin_Taylor.jpg

You think you could use your coding wizardry to update it?

Thanks again either way!

Hi All!



Just this week I noticed that this Agent broke and I couldn’t get any more search results with it.



It was around the same time as when I upgraded to PMS 0.9.5.2 so I thought it was that. It wasn’t!



FOR ALL USERS OF THIS AGENT!

The site changed it’s Advanced Search Results URL just slightly since vofik wrote this agent, causing the original agent to brake.



The good news, the fix is easy.



Just download the new bundle and replace yours (attached to this post).



Or how to fix it yourself?

  1. Find the agent in your /Users/username/Library/Application Support/Plex Media Server/Plug-ins folder (or similar path on Windows)
  2. Open the Excaliburfilms.bundle package contents (right-click, show package contents on a Mac)
  3. Go to the Contents/Code/ folder and open the python script init.py with a Text Editor or your fav code editor.
  4. At the top of the script



ExcaliburFilms

import re


URLS

EXC_BASEURL = ‘http://www.excaliburfilms.com/’

EXC_SEARCH_MOVIES_YEAR = EXC_BASEURL + ‘search/AdvancedSearch_Result.htm?searchWord=%s&year_in=%s&year_in_to=%s&studio_in=ALL&category_in=ALL&inmovies=No&TrailerMovies=No&x=57&y=16&fromSearchPage=YES’

EXC_SEARCH_MOVIES = EXC_BASEURL + ‘search/AdvancedSearch_Result.htm?searchWord=%s&studio_in=ALL&category_in=ALL&inmovies=No&TrailerMovies=No&x=57&y=16&fromSearchPage=YES’

EXC_MOVIE_INFO = EXC_BASEURL + ‘AdultDVD/%s’

______________



Make this simple change in this part




In the EXC_SEARCH_MOVIES_YEAR and EXC_SEARCH_MOVIES paths, add an s to the AdvancedSearch_Result.htm page so it becomes AdvancedSearch_Results.htm



So it now looks like



ExcaliburFilms

import re


URLS

EXC_BASEURL = ‘http://www.excaliburfilms.com/’

EXC_SEARCH_MOVIES_YEAR = EXC_BASEURL + ‘search/AdvancedSearch_Results.htm?searchWord=%s&year_in=%s&year_in_to=%s&studio_in=ALL&category_in=ALL&inmovies=No&TrailerMovies=No&x=57&y=16&fromSearchPage=YES’

EXC_SEARCH_MOVIES = EXC_BASEURL + ‘search/AdvancedSearch_Results.htm?searchWord=%s&studio_in=ALL&category_in=ALL&inmovies=No&TrailerMovies=No&x=57&y=16&fromSearchPage=YES’

EXC_MOVIE_INFO = EXC_BASEURL + ‘AdultDVD/%s’



5) That’s it! Save the file, and close the package.

6) Now go and try the agent again in PMS.



I haven’t figured out yet how to fix vofik’s code in github yet and post a fork of the new agent, but I’ll see if I can do that today.



Otherwise, happy scraping everyone!

Hey bytesailr



I updated the code with your fix to search url and with genre and actor photo support. Not sure the actor photo support is correct though - it does add it to the xml file, but my skin doesn’t show the actor photos anywhere, not sure how to test that it’s working correctly.



Cheers,

Vofik

This agent works great, thanks a lot!

How would I go about adding agents to PMS, running on Unraid or my Qnap Nas?

Just extract the zip file, rename the resulting directory to “ExcaliburFilms.bundle” and move it into Plex Media Server’s “Plug-ins” directory. Not sure where that’s located on the linux install though.




Awesome Vofik! I just added it and will see if it works with my skin. I'll let you know.



Hey Vofik,

After some testing with the new code you posted on github, it seems that the scraping is not finding things the way it used to. I used to be able to do an update section and this agent would find almost all movies just from the folder names. Now it's maybe 5%-10%. Most of the movies don't find any match on first scrap, and then on an individual scrape they come back with an error "There was no acceptable match using the specified agent." And this is definitely for movies that are there in excalibur's website search.

Have you noticed this at all? Has anyone noticed this at all?

wow, this is awesome, thanks!

love that it scrapes the genre’s and more meta data than dvdempire.



but could you please remove the detailed date from the title? instead of just cuties 2, i get cuties 2 (24-07-2009) for example.



also why does it sometimes not scan and shows the error message: “there was no acceptable match using the specified agent”?

i use the plex movie scanner for my porn section and personal media as default agent, because most of my files are not dvd releases and if i’d add excalibur, i would have to unmatch most of my collection.

this is why i manually scan for dvd releases


or are there any agents that also get meta data for web releases?

bytesailr, xemino



Please grab the updated code from github and test, looks like Excalibur Films removed the html that I was relying on to detect when a title hit an exact match and was redirected straight to the dvd page. Should work much better now! Thanks for reporting it!





xemino:



If you mean the date in the search result choice window, that’s only there to help you distinguish between similarly named titles - once you pick one, the name that’s actually added to the library does not contain the date.


  • vofik



It's working much better now. Back to being the best adult scraper out there.

Thanks vofik!

This is FANTASTIC!



This was one of my big reasons to keep using XBMC as the adult agents on that used Excaliburfilms and got 99% of titles correct.



WELL DONE VOFIK!!



Thankyou for taking the time and effort to make PLEX my choice for all media now




Now, if only the devs would include a parental lockout / P.I.N. code system for certain folders at the server end
(PLEASE, BEG, GROVEL!)


my library listings beg to differ and yes i'm using the updated version you just posted.
not a deal breaker, but certainly not necessary.

xemino:



Hmm, it really shouldn’t do that, I don’t have anything in my code that would embed the release date into the title. Can you give me any specific examples where you see it happening? (I searched for Cuties 2 on excalibur, but didn’t see any movies that had release date of 24-07-2009 that you specified in your first post)



knight2001dts:



You’re welcome :slight_smile:

yup, here are some screens

even removing the other meta data agents from the scanner gave me the same result.



i’m not really complaining.

sadly i won’t be able to help you w/ further debugging, since i have to delete my porn section, since there’s no way i can hide a section from local clients.

even setting up myplex and connecting the client only via that is no solution. the local media server w/ the porn section will still automatically show up, how convenient :confused:

Noob question: how does one install the ExcaliburFilms agent?

I tried to copy the bundle in the plug-ins folder, but the agent is not showing up in Plex Manager/preferences/agent panel.





Thanks for your help !

I can not seem to get this to work as well. I have followed others directions and placed the folder in my plugins directory, renamed, and restarted my media server but it does not show up at all under agents.



Can anyone give me a tip on how to get this working?



Edit: I fixed my problem of the agent not showing up but now when I click on ExcaliburFilms the check box is grayed out with no check mark and it doesn’t seem to be working.



Edit2: Got it to work manually by clicking incorrect match but it does not pull down any art work for the videos and it puts ExcaliburFilms at the end of every title I run it on.

Hi I have also noticed that the Excaliburfilms Agent does not pull any data anymore. Would be great if somebody could revisit this great agent. Thanks a lot