PAhelper / PhoenixAdult.bundle

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

URLError on CzechAV site #344

Closed ordinarygulp closed 4 years ago

ordinarygulp commented 4 years ago
2019-08-06 02:45:37,024 (14956d6d6700) :  INFO (__init__:46) - *******MEDIA TITLE****** Cws 17 01 15 czech-wife-swap-21-100-czech-tits
2019-08-06 02:45:37,024 (14956d6d6700) :  INFO (__init__:53) - Getting Search Settings for: Cws 17 01 15 czech-wife-swap-21-100-czech-tits
2019-08-06 02:45:37,024 (14956d6d6700) :  INFO (PAsearchSites:890) - mediaTitle w/ possible abbrieviation: Cws 17 01 15 czech wife swap 21 100 czech tits
2019-08-06 02:45:37,034 (14956d6d6700) :  INFO (PAsearchSites:1072) - mediaTitle w/ possible abbrieviation fixed: CzechWifeSwap 17 01 15 czech wife swap 21 100 czech tits
2019-08-06 02:45:37,037 (14956d6d6700) :  INFO (PAsearchSites:1087) - ^^^^^^^ siteID: 728
2019-08-06 02:45:37,037 (14956d6d6700) :  INFO (PAsearchSites:1089) - ^^^^^^^ Shortening Title
2019-08-06 02:45:37,037 (14956d6d6700) :  INFO (PAsearchSites:1090) - czechwifeswap 1 vs czech wife swap
2019-08-06 02:45:37,037 (14956d6d6700) :  INFO (PAsearchSites:1147) - 3
2019-08-06 02:45:37,037 (14956d6d6700) :  INFO (PAsearchSites:1147) - 7
2019-08-06 02:45:37,037 (14956d6d6700) :  INFO (PAsearchSites:1149) - searchTitle (before date processing): 17 01 15 czech wife swap 21 100 czech tits
2019-08-06 02:45:37,038 (14956d6d6700) :  INFO (__init__:63) - Search Title: czech wife swap 21 100 czech tits
2019-08-06 02:45:37,038 (14956d6d6700) :  INFO (__init__:67) - Search Date: 2017-01-15
2019-08-06 02:45:37,038 (14956d6d6700) :  INFO (__init__:72) - czech%20wife%20swap%2021%20100%20czech%20tits
2019-08-06 02:45:37,041 (14956d6d6700) :  DEBUG (networking:166) - Requesting 'https://czechwifeswap.com/tour/search/?q=czech%20wife%20swap%2021%20100%20czech%20tits'
2019-08-06 02:45:37,272 (14956d6d6700) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'year': None, 'id': '104389', 'name': 'Cws 17 01 15 czech-wife-swap-21-100-czech-tits'} (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/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 825, in search
    results = PAsearchSites.networkCzechAV.search(results,encodedTitle,title,searchTitle,siteNum,lang,searchByDateActor,searchDate, searchSiteID)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/networkCzechAV.py", line 8, in search
    searchResults = HTML.ElementFromURL(PAsearchSites.getSearchSearchURL(siteNum) + encodedTitle)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 482, in ElementFromURL
    method=method,
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/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 "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 370, in http_request
    return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 141, in __init__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 438, in open
    response = self._open(req, data)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 456, in _open
    '_open', req)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1225, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-6d5612c2f/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1192, in do_open
    raise URLError(err)
URLError: <urlopen error [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:590)>
claygoldfinch commented 4 years ago

The scene, for anyone looking to troubleshoot this: https://czechwifeswap.com/tour/search/?q=CZECH+WIFE+SWAP+2%2F1+%28100%25+Czech+tits%29

claygoldfinch commented 4 years ago

Easiest solution here would probably be to update your search term to "100 Czech Tits".