Added FromDucks fix and Find Missing Issues plugin for backup

This commit is contained in:
FrederikBaerentsen 2022-08-13 21:17:27 +02:00
parent 1dafcbe5b1
commit 15c16a6af5
7 changed files with 5946 additions and 4970 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,10 @@
#@Key FromDucks #@Key FromDucks
#@Description Search on coa.inducks.org informations about the selected eComics #@Description Search on coa.inducks.org informations about the selected eComics
# #
# FromDucks 2.15 - Jun 2022
#
# ---> 2.15 Changelog: Fixed bugs found by /u/MxFlix. Packaged by /u/quinyd
#
# FromDucks 2.14 - Jul 2018 # FromDucks 2.14 - Jul 2018
# #
# ---> 2.14 Changelog: fixed other bugs # ---> 2.14 Changelog: fixed other bugs
@ -1012,7 +1016,7 @@ def ReadInfoDucks(book):
contents = "" contents = ""
for counter in range (0,4): for counter in range (0,4):
try: try:
nNum = cSeries + "+" * counter + "%20" + nNumIss nNum = cSeries + "+" * counter + nNumIss
#nNum = cSeries + "%20" + nNumIss #nNum = cSeries + "%20" + nNumIss
try: try:
@ -1068,11 +1072,11 @@ def ReadInfoDucks(book):
# Read data # Read data
#m0 = re.compile(r'Publication:\s<a href=\"publication.php\?c=[a-z]{2,3}[/][^">]*?\">(.*?)</a>', re.IGNORECASE | re.MULTILINE | re.DOTALL) #m0 = re.compile(r'Publication:\s<a href=\"publication.php\?c=[a-z]{2,3}[/][^">]*?\">(.*?)</a>', re.IGNORECASE | re.MULTILINE | re.DOTALL)
m0 = re.compile(r'Publication:\s<a\shref=\"publication\.php\?c=[a-z]{2,3}[%2][^">]*?\">(.*?)</a>', re.IGNORECASE | re.MULTILINE | re.DOTALL) m0 = re.compile(r'Publication<.*?<a\shref=\"publication\.php\?c=[a-z]{2,3}[%2][^">]*?\">(.*?)<', re.IGNORECASE | re.MULTILINE | re.DOTALL)
m1 = re.compile(r'Publisher:\s<a\shref=\"publisher.php\?c=.*?\">(.*?)</a>', re.IGNORECASE | re.MULTILINE | re.DOTALL) m1 = re.compile(r'Publisher.*?<a\shref=\"publisher.php\?c=.*?\">(.*?)<', re.IGNORECASE | re.MULTILINE | re.DOTALL)
m1a = re.compile(r'Title:\s(.*?)<br/>', re.IGNORECASE | re.MULTILINE | re.DOTALL) m1a = re.compile(r'Title<\/dt>\s*?<dd>(.*?)<', re.IGNORECASE | re.MULTILINE | re.DOTALL)
m2 = re.compile(r'Date:\s(.*?)<br/>', re.IGNORECASE | re.MULTILINE | re.DOTALL) m2 = re.compile(r'Date<\/dt>\s*?<dd>(.*?)>', re.IGNORECASE | re.MULTILINE | re.DOTALL)
m3 = re.compile(r'Pages:\s*?(\d*?)\s<br\/>', re.IGNORECASE | re.MULTILINE | re.DOTALL) m3 = re.compile(r'Pages<\/dt>\s*?<dd>(\d*?)<', re.IGNORECASE | re.MULTILINE | re.DOTALL)
result0 = m0.search(contents) result0 = m0.search(contents)
Series = "" Series = ""
@ -1173,14 +1177,14 @@ def ReadInfoDucks(book):
if DEBUG:print chr(10) + "<-------- Stories -------->" if DEBUG:print chr(10) + "<-------- Stories -------->"
result3 = m3.findall(contents) result3 = m3.findall(contents)
if not result3: # if not result3:
#progress.NotFound("stories") # #progress.NotFound("stories")
f.Update("Stories", 1) # f.Update("Stories", 1)
f.Refresh() # f.Refresh()
# # #
if DEBUG:print "Not Found ----> Stories" # if DEBUG:print "Not Found ----> Stories"
# # #
return -1,0,0,0,0,0,0,0,0,0,0 # return -1,0,0,0,0,0,0,0,0,0,0
for Stories in result3: for Stories in result3:

View File

@ -146,3 +146,54 @@ Monday 09 August 2021 11:45:52
Monday 09 August 2021 11:45:52 Monday 09 August 2021 11:45:52
Saturday 25 June 2022 15:23:20
Saturday 25 June 2022 15:23:20
Saturday 25 June 2022 15:26:36
Saturday 25 June 2022 15:26:36
Saturday 25 June 2022 15:27:58
Saturday 25 June 2022 15:27:58
Saturday 25 June 2022 16:00:25
Saturday 25 June 2022 16:00:25
Saturday 25 June 2022 16:02:09
Saturday 25 June 2022 16:02:09
Saturday 25 June 2022 16:02:26
Saturday 25 June 2022 16:02:26
Saturday 25 June 2022 16:02:50
Saturday 25 June 2022 16:02:50
Saturday 25 June 2022 16:05:06
Saturday 25 June 2022 16:05:06
Saturday 25 June 2022 16:38:51
Saturday 25 June 2022 16:38:51
Tuesday 28 June 2022 13:01:07
Tuesday 28 June 2022 13:01:07
Tuesday 28 June 2022 14:59:00
Tuesday 28 June 2022 14:59:00
Tuesday 28 June 2022 15:06:27
Caught TypeError: iteration over non-sequence of type RE_Match
C:\Users\Frederik Baerentsen\AppData\Roaming\cYo\ComicRack\Scripts\FromDucks\FromDucks.py,208,WorkerThreadC:\Users\Frederik Baerentsen\AppData\Roaming\cYo\ComicRack\Scripts\FromDucks\FromDucks.py,1185,ReadInfoDucks
Tuesday 28 June 2022 15:34:55
Tuesday 28 June 2022 15:34:55

View File

@ -184,3 +184,151 @@ Monday 09 August 2021 11:45:52 > [] # - ** Scraped **
============= Monday 09 August 2021 11:45:52 ============= ============= Monday 09 August 2021 11:45:52 =============
** Scraping Started ** 1 Album(s)
============ Saturday 25 June 2022 15:23:20 ===========
Saturday 25 June 2022 15:23:20 > [] # - ** Scraped **
!! Errors in scraping !!
============= Saturday 25 June 2022 15:23:20 =============
** Scraping Started ** 1 Album(s)
============ Saturday 25 June 2022 15:26:34 ===========
Saturday 25 June 2022 15:26:36 > [] # - ** Scraped **
!! Errors in scraping !!
============= Saturday 25 June 2022 15:26:36 =============
** Scraping Started ** 1 Album(s)
============ Saturday 25 June 2022 15:27:58 ===========
Saturday 25 June 2022 15:27:58 > [D90161 The Duck Who Fell To Earth] # - ** Scraped **
!! Errors in scraping !!
============= Saturday 25 June 2022 15:27:58 =============
** Scraping Started ** 1 Album(s)
============ Saturday 25 June 2022 16:00:25 ===========
Saturday 25 June 2022 16:00:25 > [Joakim von And Her er dit liv] # - ** Scraped **
!! Errors in scraping !!
============= Saturday 25 June 2022 16:00:25 =============
** Scraping Started ** 1 Album(s)
============ Saturday 25 June 2022 16:02:09 ===========
Saturday 25 June 2022 16:02:09 > [Joakim von And Her er dit liv] # - ** Scraped **
!! Errors in scraping !!
============= Saturday 25 June 2022 16:02:09 =============
** Scraping Started ** 1 Album(s)
============ Saturday 25 June 2022 16:02:26 ===========
Saturday 25 June 2022 16:02:26 > [Joakim von And Her er dit liv] # - ** Scraped **
!! Errors in scraping !!
============= Saturday 25 June 2022 16:02:26 =============
** Scraping Started ** 1 Album(s)
============ Saturday 25 June 2022 16:02:50 ===========
Saturday 25 June 2022 16:02:50 > [1 Joakim von And Her er dit liv] # - ** Scraped **
!! Errors in scraping !!
============= Saturday 25 June 2022 16:02:50 =============
** Scraping Started ** 1 Album(s)
============ Saturday 25 June 2022 16:05:05 ===========
Saturday 25 June 2022 16:05:06 > [] # - ** Scraped **
!! Errors in scraping !!
============= Saturday 25 June 2022 16:05:06 =============
** Scraping Started ** 1 Album(s)
============ Saturday 25 June 2022 16:38:50 ===========
Saturday 25 June 2022 16:38:51 > [Joakim von And Her er dit liv] #1 - ** Scraped **
!! Errors in scraping !!
============= Saturday 25 June 2022 16:38:51 =============
** Scraping Started ** 1 Album(s)
============ Tuesday 28 June 2022 13:01:06 ===========
Tuesday 28 June 2022 13:01:07 > [Joakim von And Her er dit liv] #1 - ** Scraped **
!! Errors in scraping !!
============= Tuesday 28 June 2022 13:01:07 =============
** Scraping Started ** 1 Album(s)
============ Tuesday 28 June 2022 14:58:58 ===========
Tuesday 28 June 2022 14:59:00 > [Joakim von And Her er dit liv] #1 - ** Scraped **
!! Errors in scraping !!
============= Tuesday 28 June 2022 14:59:00 =============
** Scraping Started ** 1 Album(s)
============ Tuesday 28 June 2022 15:06:25 ===========
!! Errors in scraping !!
============= Tuesday 28 June 2022 15:06:27 =============
** Scraping Started ** 1 Album(s)
============ Tuesday 28 June 2022 15:34:54 ===========
Tuesday 28 June 2022 15:34:55 > [Joakim von And Her er dit liv] #1 - ** Scraped **
!! Errors in scraping !!
============= Tuesday 28 June 2022 15:34:55 =============
** Scraping Started ** 1 Album(s)
============ Tuesday 28 June 2022 15:37:25 ===========
Tuesday 28 June 2022 15:37:26 > [Joakim von And Her er dit liv] #1 - Joakim von And Her er dit liv ** Scraped **
Album(s) scraped !
============= Tuesday 28 June 2022 15:37:26 =============
** Scraping Started ** 1 Album(s)
============ Tuesday 28 June 2022 15:40:42 ===========
Tuesday 28 June 2022 15:40:43 > [One Shots] #223 - Donald Duck in "Lost in the Andes" ** Scraped **
Album(s) scraped !
============= Tuesday 28 June 2022 15:40:43 =============

View File

@ -50,7 +50,7 @@ nl^^Dutch^
nl-be^nl^Flemish^ nl-be^nl^Flemish^
nn^no^New-Norwegian^ nn^no^New-Norwegian^
no^^Norwegian^ no^^Norwegian^
pl^pl^Polish^ pl^^Polish^
pt^pt-br^Portuguese^ pt^pt-br^Portuguese^
pt-br^^Brazilian-Portuguese^ pt-br^^Brazilian-Portuguese^
ro^^Romanian^ ro^^Romanian^