mirror of
https://github.com/evilhero/mylar
synced 2024-12-25 01:01:47 +00:00
FIX: (#855) When using Experimental Search, unable to find issues when the series contained an '&' due to improper url-encoding
This commit is contained in:
parent
d03680f29e
commit
dadc4baec0
1 changed files with 4 additions and 2 deletions
|
@ -8,7 +8,7 @@ import re
|
|||
import logger
|
||||
import mylar
|
||||
import unicodedata
|
||||
|
||||
import urllib
|
||||
|
||||
def Startit(searchName, searchIssue, searchYear, ComicVersion, IssDateFix):
|
||||
#searchName = "Uncanny Avengers"
|
||||
|
@ -24,7 +24,9 @@ def Startit(searchName, searchIssue, searchYear, ComicVersion, IssDateFix):
|
|||
logger.fdebug("name:" + str(searchName))
|
||||
logger.fdebug("issue:" + str(searchIssue))
|
||||
logger.fdebug("year:" + str(searchYear))
|
||||
splitSearch = searchName.split(" ")
|
||||
encodeSearch = urllib.quote_plus(searchName)
|
||||
splitSearch = encodeSearch.split(" ")
|
||||
|
||||
joinSearch = "+".join(splitSearch)+"+"+searchIssue
|
||||
searchIsOne = "0"+searchIssue
|
||||
searchIsTwo = "00"+searchIssue
|
||||
|
|
Loading…
Reference in a new issue