PAhelper / PhoenixAdult.bundle

Plex Meta-Data Agent for scene videos from multiple adult sites
357 stars 140 forks source link

Latest build not working? #683

Closed Keysersose12 closed 4 years ago

Keysersose12 commented 4 years ago

Search doesnt seem to work for anything. I see this in the log.

2020-03-28 15:51:30,174 (96d8) : INFO (logkit:16) - 8 2020-03-28 15:51:30,174 (96d8) : INFO (logkit:16) - searchTitle (before date processing): Cecilia Lion Hardcore 2020 03 27 2020-03-28 15:51:30,174 (96d8) : INFO (logkit:16) - Search Title: Cecilia Lion Hardcore 2020-03-28 15:51:30,174 (96d8) : INFO (logkit:16) - Search Date: 2020-03-27 2020-03-28 15:51:30,176 (96d8) : INFO (logkit:16) - Cecilia%20Lion%20Hardcore 2020-03-28 15:51:30,187 (96d8) : DEBUG (networking:143) - Requesting 'https://cherrypimps.com/search.php?query=%22Cecilia%20Lion%20Hardcore%22&page=1' 2020-03-28 15:51:31,348 (96d8) : DEBUG (networking:143) - Requesting 'https://cherrypimps.com/search.php?query=%22Cecilia%20Lion%20Hardcore%22&page=2' 2020-03-28 15:51:32,387 (96d8) : DEBUG (runtime:88) - Sending packed state data (1956 bytes) 2020-03-28 15:51:32,387 (96d8) : DEBUG (runtime:924) - Response: [200] str, 320 bytes 2020-03-28 15:51:36,880 (b57c) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.phoenixadult/messaging/function/X0FnZW50S2l0OlNlYXJjaA/Y2VyZWFsMQoxCmxpc3QKMApyMAo/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGUzCnM2CjEyMzQ5NnMyCmlkczIyCldpbGRvbmNhbSBDZWNpbGlhIExpb25zNApuYW1lczQKMjAyMHM0CnllYXJyMAo 2020-03-28 15:51:36,881 (b57c) : DEBUG (runtime:49) - Received packed state data (1924 bytes) 2020-03-28 15:51:36,881 (b57c) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.phoenixadult/messaging/function/X0FnZW50S2l0OlNlYXJjaA/Y2VyZWFsMQoxCmxpc3QKMApyMAo/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGUzCnM2CjEyMzQ5NnMyCmlkczIyCldpbGRvbmNhbSBDZWNpbGlhIExpb25zNApuYW1lczQKMjAyMHM0CnllYXJyMAo 2020-03-28 15:51:36,882 (b57c) : INFO (agentkit:957) - Searching for matches for {'year': '2020', 'id': '123496', 'name': 'Wildoncam Cecilia Lion'} 2020-03-28 15:51:36,882 (b57c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/123496/tree' 2020-03-28 15:51:36,887 (b57c) : CRITICAL (core:574) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'year': '2020', 'id': '123496', 'name': 'Wildoncam Cecilia Lion'} (most recent call last): File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-740d4c206\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 1007, in _search agent.search(*f_args, **f_kwargs) File "C:\Users\Bily\AppData\Local\Plex Media Server\Plug-ins\PhoenixAdult.bundle\Contents\Code__init__.py", line 40, in search filepath = urllib.unquote(media.filename) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib.py", line 1234, in unquote bits = s.split('%') AttributeError: 'NoneType' object has no attribute 'split'

2020-03-28 15:51:36,888 (b57c) : DEBUG (runtime:88) - Sending packed state data (1956 bytes) 2020-03-28 15:51:36,888 (b57c) : DEBUG (runtime:924) - Response: [200] str, 16 bytes

dsrtusr88 commented 4 years ago

noticing the same

2020-03-28 12:39:47,490 (7f356cf45700) : DEBUG (runtime:88) - Sending packed state data (1980 bytes) 2020-03-28 12:39:47,490 (7f356cf45700) : DEBUG (runtime:924) - Response: [200] str, 16 bytes 2020-03-28 12:39:52,640 (7f356cf45700) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.phoenixadult/messaging/function/X0FnZW50S2l0OlNlYXJjaA_/Y2VyZWFsMQoxCmxpc3QKMApyMAo/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGUzCnM1CjQzMTUyczIKaWRzNDgKV2lja2VkIEJlc3QtRnJpZW5kcy1CZXR0ZXItTG92ZXJzLVNjZW5lLTMvMTcwMzE1czQKbmFtZW5zNAp5ZWFycjAK 2020-03-28 12:39:52,640 (7f356cf45700) : DEBUG (runtime:49) - Received packed state data (1948 bytes) 2020-03-28 12:39:52,641 (7f356cf45700) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.phoenixadult/messaging/function/X0FnZW50S2l0OlNlYXJjaA/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGUzCnM1CjQzMTUyczIKaWRzNDgKV2lja2VkIEJlc3QtRnJpZW5kcy1CZXR0ZXItTG92ZXJzLVNjZW5lLTMvMTcwMzE1czQKbmFtZW5zNAp5ZWFycjAK 2020-03-28 12:39:52,641 (7f356cf45700) : INFO (agentkit:957) - Searching for matches for {'year': None, 'id': '43152', 'name': 'Wicked Best-Friends-Better-Lovers-Scene-3/170315'} 2020-03-28 12:39:52,641 (7f356cf45700) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/43152/tree' 2020-03-28 12:39:52,644 (7f356cf45700) : CRITICAL (agentkit:1014) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'year': None, 'id': '43152', 'name': 'Wicked Best-Friends-Better-Lovers-Scene-3/170315'} (most recent call last): File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search agent.search(*f_args, **f_kwargs) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/init__.py", line 40, in search filepath = urllib.unquote(media.filename) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/lib/python2.7/urllib.py", line 1234, in unquote bits = s.split('%') AttributeError: 'NoneType' object has no attribute 'split'

Keysersose12 commented 4 years ago

If you manually download the init.py and overwrite the file you already have it seems to work. I'm using windows and download zip releases and the init.py file in the zip looks to be different the version on githib for some reason.

ordinarygulp commented 4 years ago

Same issue here, using git clone and not zip download though:

2020-03-28 23:28:16,997 (14d9ed32c700) :  INFO (__init__:47) - *******MEDIA TITLE****** Dorcelclub.20.01.03.Claa.Gaultier.And.Talia.Mint.A.Very.Special.Guest.4K
2020-03-28 23:28:16,998 (14d9ed32c700) :  INFO (__init__:59) - Getting Search Settings for: Dorcelclub.20.01.03.Claa.Gaultier.And.Talia.Mint.A.Very.Special.Guest.4K
2020-03-28 23:28:16,998 (14d9ed32c700) :  INFO (PAsearchSites:1036) - mediaTitle w/ possible abbreviation: Dorcelclub 20 01 03 Claa Gaultier And Talia Mint A Very Special Guest 4K
2020-03-28 23:28:17,011 (14d9ed32c700) :  INFO (PAsearchSites:1237) - mediaTitle w/ possible abbrieviation fixed: Dorcelclub 20 01 03 Claa Gaultier And Talia Mint A Very Special Guest 4K
2020-03-28 23:28:17,015 (14d9ed32c700) :  INFO (PAsearchSites:990) - Site found with method #3
2020-03-28 23:28:17,015 (14d9ed32c700) :  INFO (PAsearchSites:1252) - ^^^^^^^ siteID: 669
2020-03-28 23:28:17,016 (14d9ed32c700) :  INFO (PAsearchSites:1254) - ^^^^^^^ Shortening Title
2020-03-28 23:28:17,016 (14d9ed32c700) :  INFO (PAsearchSites:1255) - dorcelclub  vs dorcel club
2020-03-28 23:28:17,016 (14d9ed32c700) :  INFO (PAsearchSites:1267) - 3
2020-03-28 23:28:17,016 (14d9ed32c700) :  INFO (PAsearchSites:1287) - 8
2020-03-28 23:28:17,017 (14d9ed32c700) :  INFO (PAsearchSites:1299) - searchTitle (before date processing): 20 01 03 Claa Gaultier And Talia Mint A Very Special Guest 4K
2020-03-28 23:28:17,018 (14d9ed32c700) :  INFO (__init__:66) - Search Title: Claa Gaultier And Talia Mint A Very Special Guest 4K
2020-03-28 23:28:17,018 (14d9ed32c700) :  INFO (__init__:70) - Search Date: 2020-01-03
2020-03-28 23:28:17,018 (14d9ed32c700) :  INFO (__init__:75) - Claa%20Gaultier%20And%20Talia%20Mint%20A%20Very%20Special%20Guest%204K
2020-03-28 23:28:17,023 (14d9ed32c700) :  DEBUG (networking:143) - Requesting 'https://www.dorcelclub.com/en/search?search=Claa%20Gaultier%20And%20Talia%20Mint%20A%20Very%20Special%20Guest%204K'
2020-03-28 23:28:17,925 (14d9ed32c700) :  DEBUG (runtime:88) - Sending packed state data (2304 bytes)
2020-03-28 23:28:17,925 (14d9ed32c700) :  DEBUG (runtime:924) - Response: [200] str, 320 bytes
2020-03-28 23:28:22,612 (14d9ed32c700) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.phoenixadult/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGUzCnM2CjEzMjcyMXMyCmlkczQzCkRvcmNlbGNsdWIgMjAgMDEgMDMgYSBWZXJ5IFNwZWNpYWwgR3Vlc3QgNGtzNApuYW1lbnM0CnllYXJyMAo_
2020-03-28 23:28:22,614 (14d9ed32c700) :  DEBUG (runtime:49) - Received packed state data (2272 bytes)
2020-03-28 23:28:22,616 (14d9ed32c700) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.phoenixadult/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGUzCnM2CjEzMjcyMXMyCmlkczQzCkRvcmNlbGNsdWIgMjAgMDEgMDMgYSBWZXJ5IFNwZWNpYWwgR3Vlc3QgNGtzNApuYW1lbnM0CnllYXJyMAo_
2020-03-28 23:28:22,616 (14d9ed32c700) :  INFO (agentkit:957) - Searching for matches for {'year': None, 'id': '132721', 'name': 'Dorcelclub 20 01 03 a Very Special Guest 4k'}
2020-03-28 23:28:22,617 (14d9ed32c700) :  DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/132721/tree'
2020-03-28 23:28:22,621 (14d9ed32c700) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'year': None, 'id': '132721', 'name': 'Dorcelclub 20 01 03 a Very Special Guest 4k'} (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/__init__.py", line 40, in search
    filepath = urllib.unquote(media.filename)
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib.py", line 1234, in unquote
    bits = s.split('%')
AttributeError: 'NoneType' object has no attribute 'split'
pedrolara-boop commented 4 years ago

Same error here.

2020-03-29 01:13:13,783 (7f69cffff700) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'year': None, 'id': '103552', 'name': 'Nam carmen emma tiffany alex'} (most recent call last):
  File "/volume1/@appstore/Plex Media Server/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/__init__.py", line 40, in search
  File "/volume1/@appstore/Plex Media Server/Resources/Python/lib/python2.7/urllib.py", line 1234, in unquote
    bits = s.split('%')
AttributeError: 'NoneType' object has no attribute 'split'
pedrolara-boop commented 4 years ago

Just went back to the previous commit and it works. git checkout c7b49ac882a62cc69f3182e09a147b9fee63ba43

I'm running on Synology.

DirtyRacer1337 commented 4 years ago

It's happened after #637. I found why it's happened, I'm used media.filename documentation says, it's available only for Movie and TV Show, if I'm correct you all used Other Videos. I'm correct?

I rerun it any possible ways an no luck. I guess I'm wrong. Maybe it's only on linux. Anyway better revert changes.

ordinarygulp commented 4 years ago

I am using Movie as library type. Manually reverted init and it seems to be working again

DirtyRacer1337 commented 4 years ago

I tried it on linux and still no luck. Maybe #685 will help.

insickin commented 4 years ago

Strange, I was running the release that broke search for people but I was/am able to find all my scene's! (now updated to @DirtyRacer1337 #685 ) I've only had problems with Girlsway #687 (which went away when using https://github.com/PAhelper/PhoenixAdult.bundle/commit/c7b49ac882a62cc69f3182e09a147b9fee63ba43) and MissaX #682 search...

My Plex server (docker) is running on Linux.

dsrtusr88 commented 4 years ago

still having the same issue:

2020-03-29 10:40:18,555 (7f16bcf89700) : INFO (siteWicked:42) - Direct URL (Scene page) 2020-03-29 10:40:18,556 (7f16bcf89700) : DEBUG (networking:143) - Requesting 'https://www.wicked.com/en/video/Joanna-Angel-And-Eliza-IbarraBest-Friends-Better-Lovers-Scene-3170315-Xxx-2160P-Mp4/Ktr' 2020-03-29 10:40:19,941 (7f16bcf89700) : ERROR (networking:196) - Error opening URL 'https://www.wicked.com/en/video/Joanna-Angel-And-Eliza-IbarraBest-Friends-Better-Lovers-Scene-3170315-Xxx-2160P-Mp4/Ktr' 2020-03-29 10:40:19,942 (7f16bcf89700) : CRITICAL (agentkit:1014) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'openSubtitlesHash': 'feddabb0cad08708', 'name': 'Wicked Best Friends Better Lovers Scene 3170315', 'filename': '%2Fshare%2FCACHEDEV1_DATA%2FMedia%2FMedia%2FAdult%2FWicked%2E%5B20%2E03%2E09%2EJoanna%2EAngel%2EAnd%2EEliza%2EIbarra%5DBest-Friends-Better-Lovers-Scene-3170315%2EXXX%2E2160p%2EMP4-KTR%2Emp4', 'plexHash': '18909c28fb23652201df234653393d9e3848e192', 'duration': '1378026', 'id': '43152'} (most recent call last): File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search agent.search(*f_args, *f_kwargs) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/init.py", line 1011, in search results = PAsearchSites.siteWicked.search(results, encodedTitle, title, searchTitle, siteNum, lang, searchByDateActor, searchDate, searchSiteID) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/siteWicked.py", line 43, in search searchResults = HTML.ElementFromURL(PAsearchSites.getSearchBaseURL(siteNum) + "/en/video/" + searchString) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 482, in ElementFromURL method=method, File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py", line 67, in _http_request req = self._core.networking.http_request(url, args, *kwargs) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 346, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 118, in init self.load() File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-e106a8a91/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/lib/python2.7/urllib2.py", line 435, in open response = meth(req, response) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/lib/python2.7/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/lib/python2.7/urllib2.py", line 473, in error return self._call_chain(args) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/lib/python2.7/urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 404: Not Found