PAhelper / PhoenixAdult.bundle

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

Teams Skeet - Foster Tapes not returning results #1010

Closed dappleyard closed 4 years ago

dappleyard commented 4 years ago

Describe the bug Hi I downloaded the latest version at 12:43 6th Sept and still get errors on this Team Skeet site

Scene URL: https://www.fostertapes.com/movies/foster-parents-scholarship

Filename: FosterTapes-Foster Parents Scholarship.mp4

  1. Log File
    2020-09-06 12:32:35,151 (5adc) :  INFO (logkit:16) - *******MEDIA TITLE****** Fostertapes Foster Parents Scholarship
    2020-09-06 12:32:35,151 (5adc) :  INFO (logkit:16) - Getting Search Settings for: Fostertapes Foster Parents Scholarship
    2020-09-06 12:32:35,151 (5adc) :  INFO (logkit:16) - mediaTitle w/ possible abbreviation: Fostertapes Foster Parents Scholarship
    2020-09-06 12:32:35,157 (5adc) :  INFO (logkit:16) - mediaTitle w/ possible abbrieviation fixed: Fostertapes Foster Parents Scholarship
    2020-09-06 12:32:35,160 (5adc) :  INFO (logkit:16) - Site found with method #3
    2020-09-06 12:32:35,160 (5adc) :  INFO (logkit:16) - ^^^^^^^ siteID: 845
    2020-09-06 12:32:35,160 (5adc) :  INFO (logkit:16) - ^^^^^^^ Shortening Title
    2020-09-06 12:32:35,160 (5adc) :  INFO (logkit:16) - fostertapes  vs foster tapes
    2020-09-06 12:32:35,160 (5adc) :  INFO (logkit:16) - 3
    2020-09-06 12:32:35,160 (5adc) :  INFO (logkit:16) - 8
    2020-09-06 12:32:35,161 (5adc) :  INFO (logkit:16) - searchTitle (before date processing): Foster Parents Scholarship
    2020-09-06 12:32:35,161 (5adc) :  INFO (logkit:16) - Search Title: Foster Parents Scholarship
    2020-09-06 12:32:35,161 (5adc) :  INFO (logkit:16) - Foster%20Parents%20Scholarship
    2020-09-06 12:32:35,161 (5adc) :  INFO (logkit:16) - Using Google Search "site:fostertapes.com Foster Parents Scholarship"
    2020-09-06 12:32:39,296 (5adc) :  INFO (logkit:16) - Requesting GET "https://www.fostertapes.com"
    2020-09-06 12:32:39,726 (5adc) :  INFO (logkit:16) - Requesting GET "https://store.psmcdn.net/FOS-organic-n5oaginage-videoscontent/_doc/foster-parents-scholarship"
    2020-09-06 12:32:41,845 (5adc) :  CRITICAL (core:574) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'openSubtitlesHash': '2e5c0f3fe9cdedcb', 'name': 'Fostertapes Foster Parents Scholarship', 'filename': 'Z%3A%5CFamily%20Organised%5CFosterTapes-Foster%20Parents%20Scholarship%2Emp4', 'plexHash': 'd994e97879b1a160d22f82ae0b2e849b2553da1a', 'duration': '2192657', 'id': '90765'} (most recent call last):
    File "E:\Program Files (x86)\Plex\Resources\Plug-ins-a78fef9a9\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 1011, in _search
    agent.search(*f_args, **f_kwargs)
    File "C:\Users\david\AppData\Local\Plex Media Server\Plug-ins\PhoenixAdult.bundle\Contents\Code\__init__.py", line 881, in search
    results = PAsearchSites.siteDesperateAmateurs.search(results, encodedTitle, searchTitle, siteNum, lang, searchDate)
    File "C:\Users\david\AppData\Local\Plex Media Server\Plug-ins\PhoenixAdult.bundle\Contents\Code\networkTeamSkeet.py", line 43, in search
    detailsPageElements = getDataFromAPI(dbURL, sceneType, sceneName)
    File "C:\Users\david\AppData\Local\Plex Media Server\Plug-ins\PhoenixAdult.bundle\Contents\Code\networkTeamSkeet.py", line 19, in getDataFromAPI
    return data.json()
    File "C:\Users\david\AppData\Local\Plex Media Server\Plug-ins\PhoenixAdult.bundle\Contents\Libraries\Shared\requests\models.py", line 898, in json
    return complexjson.loads(self.text, **kwargs)
    File "E:\Program Files (x86)\Plex\Exts\simplejson\__init__.py", line 488, in loads
    return _default_decoder.decode(s)
    File "E:\Program Files (x86)\Plex\Exts\simplejson\decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
    File "E:\Program Files (x86)\Plex\Exts\simplejson\decoder.py", line 389, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
    File "E:\Program Files (x86)\Plex\Exts\simplejson\scanner.py", line 122, in scan_once
    return _scan_once(string, idx)
    File "E:\Program Files (x86)\Plex\Exts\simplejson\scanner.py", line 118, in _scan_once
    raise JSONDecodeError(errmsg, string, idx)
    JSONDecodeError: Expecting value: line 1 column 1 (char 0)
DirtyRacer1337 commented 4 years ago

Do you have this commit, ea5e65677d4e6fc904197cee1ffcd2aacb40beb2?

dappleyard commented 4 years ago

Yes, I thought that commit would have fixed it. I downloaded the latest version to try,

DirtyRacer1337 commented 4 years ago

I tested it right now, you don't have that changes, update plugin