PAhelper / PhoenixAdult.bundle

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

MonsterCurves list index out of range #295

Closed ordinarygulp closed 5 years ago

ordinarygulp commented 5 years ago
2019-07-20 06:20:16,417 (1552b7fff700) :  INFO (__init__:46) - *******MEDIA TITLE****** mc Apple Bottom
2019-07-20 06:20:16,417 (1552b7fff700) :  INFO (__init__:53) - Getting Search Settings for: mc Apple Bottom
2019-07-20 06:20:16,418 (1552b7fff700) :  INFO (PAsearchSites:887) - mediaTitle w/ possible abbrieviation: mc Apple Bottom
2019-07-20 06:20:16,427 (1552b7fff700) :  INFO (PAsearchSites:1061) - mediaTitle w/ possible abbrieviation fixed: MassageCreep Apple Bottom
2019-07-20 06:20:16,429 (1552b7fff700) :  INFO (PAsearchSites:1076) - ^^^^^^^ siteID: 311
2019-07-20 06:20:16,429 (1552b7fff700) :  INFO (PAsearchSites:1078) - ^^^^^^^ Shortening Title
2019-07-20 06:20:16,429 (1552b7fff700) :  INFO (PAsearchSites:1079) - massagecreep vs massagecreep
2019-07-20 06:20:16,429 (1552b7fff700) :  INFO (PAsearchSites:1082) - 1
2019-07-20 06:20:16,429 (1552b7fff700) :  INFO (PAsearchSites:1129) - 6
2019-07-20 06:20:16,429 (1552b7fff700) :  INFO (PAsearchSites:1129) - searchTitle (before date processing): Apple Bottom
2019-07-20 06:20:16,430 (1552b7fff700) :  INFO (__init__:63) - Search Title: Apple Bottom
2019-07-20 06:20:16,430 (1552b7fff700) :  INFO (__init__:72) - Apple%20Bottom
2019-07-20 06:20:16,431 (1552b7fff700) :  INFO (networkPornPros:12) - This is repeating
2019-07-20 06:20:16,432 (1552b7fff700) :  DEBUG (networking:166) - Requesting 'https://pornpros.com/video/apple-bottom'
2019-07-20 06:20:16,448 (1552b7fff700) :  INFO (networkPornPros:15) - That is repeating
2019-07-20 06:20:16,596 (1552b7fff700) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'year': None, 'id': '91252', 'name': 'mc Apple Bottom'} (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-22929c8a2/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 469, in search
    results = PAsearchSites.networkPornPros.search(results,encodedTitle,title,searchTitle,siteNum,lang,searchByDateActor,searchDate, searchSiteID)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/networkPornPros.py", line 20, in search
    searchResult = searchResults.xpath('//div[@class="details col-sm-6 col-md-3 order-md-2 mb-2"]')[0]
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-22929c8a2/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 108, in <lambda>
    _getitem_           = lambda x, y: x.__getitem__(y),
IndexError: list index out of range
ordinarygulp commented 5 years ago

Nevermind, was using wrong shorthand