diff --git a/Contents/Code/__init__.py b/Contents/Code/__init__.py index 45c63efee..ac18ad314 100644 --- a/Contents/Code/__init__.py +++ b/Contents/Code/__init__.py @@ -636,7 +636,7 @@ def update(self, metadata, media, lang): ## ## ############################################################## if siteID >= 448 and siteID <= 459: - metadata = PAsearchSites.networkPefectGonzo.update(metadata,siteID,movieGenres,movieActors) + metadata = PAsearchSites.networkPerfectGonzo.update(metadata,siteID,movieGenres,movieActors) ############################################################## diff --git a/Contents/Code/networkPornFidelity.py b/Contents/Code/networkPornFidelity.py index 6ccaf5d0e..754a2a2e8 100644 --- a/Contents/Code/networkPornFidelity.py +++ b/Contents/Code/networkPornFidelity.py @@ -26,8 +26,7 @@ def search(results,encodedTitle,title,searchTitle,siteNum,lang,searchByDateActor if searchByDateActor != True: score = 102 - Util.LevenshteinDistance(searchTitle.lower(), titleNoFormatting.lower()) else: - searchDateCompare = datetime.strptime(searchDate, '%Y-%m-%d').strftime('%b %m, $Y') - score = 102 - Util.LevenshteinDistance(searchDateCompare.lower(), releaseDate.lower()) + score = 102 - Util.LevenshteinDistance(searchDate, releaseDate) titleNoFormatting = titleNoFormatting + " [" + PAsearchSites.getSearchSiteName(siteNum) + "] " + releaseDate results.Append(MetadataSearchResult(id = curID + "|" + str(siteNum), name = titleNoFormatting, score = score, lang = lang))