mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-09 05:21:13 +02:00
Fix for seriesUrl check.
This commit is contained in:
parent
10aedfbce6
commit
1663f13950
1 changed files with 1 additions and 1 deletions
|
|
@ -856,7 +856,7 @@ class FanFictionDownLoaderPlugin(InterfaceAction):
|
||||||
series = story.getMetadata('series')
|
series = story.getMetadata('series')
|
||||||
if not merge and series and prefs['checkforseriesurlid']:
|
if not merge and series and prefs['checkforseriesurlid']:
|
||||||
# try to find *series anthology* by *seriesUrl* identifier url or uri first.
|
# try to find *series anthology* by *seriesUrl* identifier url or uri first.
|
||||||
searchstr = 'identifiers:"~ur(i|l):~^%s$"'%re.sub(r'https?\:','https?(\:|\|)',re.escape(story.getMetadata('seriesUrl')))
|
searchstr = 'identifiers:"~ur(i|l):~^%s$"'%re.sub(r'https?\\:','https?(\:|\|)',re.escape(story.getMetadata('seriesUrl')))
|
||||||
identicalbooks = db.search_getting_ids(searchstr, None)
|
identicalbooks = db.search_getting_ids(searchstr, None)
|
||||||
# print("searchstr:%s"%searchstr)
|
# print("searchstr:%s"%searchstr)
|
||||||
# print("identicalbooks:%s"%identicalbooks)
|
# print("identicalbooks:%s"%identicalbooks)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue