mirror of
https://github.com/evilhero/mylar
synced 2025-02-02 12:31:44 +00:00
fixed some issues with : in searching
This commit is contained in:
parent
d06627d06a
commit
6c81414416
1 changed files with 4 additions and 3 deletions
|
@ -87,7 +87,6 @@ def MysterBinScrape(comsearch):
|
|||
return mres
|
||||
|
||||
def GCDScraper(ComicName, ComicYear, Total, ComicID):
|
||||
if ':' in ComicName: ComicName = re.sub(':', '', ComicName)
|
||||
comicnm = ComicName
|
||||
comicyr = ComicYear
|
||||
comicis = Total
|
||||
|
@ -180,10 +179,12 @@ def GCDScraper(ComicName, ComicYear, Total, ComicID):
|
|||
if ComicName.startswith('The '):
|
||||
ComicName = ComicName[4:]
|
||||
return GCDScraper(ComicName, ComicYear, Total, ComicID)
|
||||
if ':' in ComicName:
|
||||
ComicName = re.sub(':', '', ComicName)
|
||||
return GCDScraper(ComicName, ComicYear, Total, ComicID)
|
||||
if 'and' in ComicName.lower():
|
||||
ComicName = ComicName.replace('and', '&')
|
||||
return GCDScraper(ComicName, ComicYear, Total, ComicID)
|
||||
else:
|
||||
return 'No Match'
|
||||
gcdinfo = {}
|
||||
gcdchoice = []
|
||||
|
|
Loading…
Reference in a new issue