Closed adtdev20 closed 3 years ago
Describe the bug When matching files from the Top Web Models group of sites, you get a JSON error.
Include
2021-04-07 21:57:13,035 (14c9ea0c6700) : INFO (agentkit:961) - Searching for matches for {'openSubtitlesHash': 'b9c7bfc429ead9ba', 'name': 'BigGulpGirls 2018 06 13 Riley Nixon', 'filename': '%2Fporn%2FClips%2FTop%20Web%20Models%2FBig%20Gulp%20Girls%2FBigGulpGirls%20-%202018-06-13%20-%20Riley%20Nixon%2Emp4', 'plexHash': 'e4f5eebca3762ef51db5e85704f76250dc3a0c4e', 'duration': '1462997', 'id': '34512'} 2021-04-07 21:57:13,040 (14c9ea0c6700) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/34512/tree' 2021-04-07 21:57:13,053 (14c9ea0c6700) : INFO (__init__:63) - ***MEDIA TITLE [from media.name]*** BigGulpGirls 2018 06 13 Riley Nixon 2021-04-07 21:57:13,053 (14c9ea0c6700) : INFO (PAsearchSites:51) - mediaTitle w/ possible abbreviation: BigGulpGirls 2018 06 13 Riley Nixon 2021-04-07 21:57:13,068 (14c9ea0c6700) : INFO (PAsearchSites:59) - mediaTitle w/ possible abbrieviation fixed: BigGulpGirls 2018 06 13 Riley Nixon 2021-04-07 21:57:13,079 (14c9ea0c6700) : INFO (PAsearchSites:71) - ^^^^^^^ siteNum: 1230 2021-04-07 21:57:13,079 (14c9ea0c6700) : INFO (PAsearchSites:72) - ^^^^^^^ Shortening Title 2021-04-07 21:57:13,081 (14c9ea0c6700) : INFO (PAsearchSites:95) - Search Title (before date processing): 2018 06 13 Riley Nixon 2021-04-07 21:57:13,082 (14c9ea0c6700) : INFO (__init__:65) - {'siteName': 'biggulpgirls', 'searchDate': '2018-06-13', 'siteNum': 1230, 'searchTitle': 'Riley Nixon'} 2021-04-07 21:57:13,082 (14c9ea0c6700) : INFO (PAsearchData:19) - SearchData.title: Riley Nixon 2021-04-07 21:57:13,083 (14c9ea0c6700) : INFO (PAsearchData:22) - SearchData.date: 2018-06-13 2021-04-07 21:57:13,083 (14c9ea0c6700) : INFO (PAsearchData:25) - SearchData.filename: BigGulpGirls - 2018-06-13 - Riley Nixon 2021-04-07 21:57:13,084 (14c9ea0c6700) : INFO (__init__:95) - Provider: networkTopWebModels 2021-04-07 21:57:13,087 (14c9ea0c6700) : INFO (PAutils:175) - Requesting GET "https://tour.biggulpgirls.com/search/Riley%20Nixon" 2021-04-07 21:57:13,749 (14c9ea0c6700) : ERROR (__init__:99) - Traceback (most recent call last): File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/__init__.py", line 97, in search provider.search(results, lang, siteNum, search) File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/networkTopWebModels.py", line 49, in search score = 100 - Util.LevenshteinDistance(searchData.date, releaseDate) File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/networkTopWebModels.py", line 12, in getJSONfromPage return json.loads(jsonData)['data'] File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded 2021-04-07 21:57:13,751 (14c9ea0c6700) : DEBUG (runtime:88) - Sending packed state data (112 bytes) 2021-04-07 21:57:13,752 (14c9ea0c6700) : DEBUG (runtime:924) - Response: [200] str, 320 bytes
com.plexapp.agents.phoenixadult.log
Fixed in ac8d7b26ba437b5c07f45a07237dd3e3e0664c11
Describe the bug When matching files from the Top Web Models group of sites, you get a JSON error.
Include
com.plexapp.agents.phoenixadult.log