Compare commits
No commits in common. "a3ab8b1bd5a9db0d47562643652571797cac62a9" and "5366e9992d17c82a1981ac4a3ac5c302e4d59ffe" have entirely different histories.
a3ab8b1bd5
...
5366e9992d
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -108,9 +108,3 @@ py: Finding Error in comic list: 98%
|
||||
py: Finding Error in comic list: 99%
|
||||
sh: Moving old file to archive
|
||||
sh: git add
|
||||
sh: git commit
|
||||
[master 5366e99] Updated 20240926
|
||||
3 files changed, 117 insertions(+)
|
||||
rename Update Missing/{20240925_latest.mcl => archive/20240925.mcl} (100%)
|
||||
create mode 100644 Update Missing/log/20240926.log
|
||||
sh: git push
|
||||
|
@ -1,3 +0,0 @@
|
||||
log: 20240927
|
||||
sh: Starting update.sh
|
||||
sh: Error: cannot latest mcl file
|
@ -1,3 +0,0 @@
|
||||
log: 20240928
|
||||
sh: Starting update.sh
|
||||
sh: Error: cannot latest mcl file
|
@ -1,3 +0,0 @@
|
||||
log: 20240929
|
||||
sh: Starting update.sh
|
||||
sh: Error: cannot latest mcl file
|
@ -1,3 +0,0 @@
|
||||
log: 20240930
|
||||
sh: Starting update.sh
|
||||
sh: Error: cannot latest mcl file
|
@ -1,3 +0,0 @@
|
||||
log: 20241001
|
||||
sh: Starting update.sh
|
||||
sh: Error: cannot latest mcl file
|
@ -1,124 +0,0 @@
|
||||
log: 20241112
|
||||
sh: Starting update.sh
|
||||
py: Reading in current database
|
||||
py: Querying ComicVine for new issues
|
||||
py:0/10978 Since 2024-09-25
|
||||
py:100/10978 Since 2024-09-25
|
||||
py:200/10978 Since 2024-09-25
|
||||
py:300/10978 Since 2024-09-25
|
||||
py:400/10978 Since 2024-09-25
|
||||
py:500/10978 Since 2024-09-25
|
||||
py:600/10978 Since 2024-09-25
|
||||
py:700/10978 Since 2024-09-25
|
||||
py:800/10978 Since 2024-09-25
|
||||
py:900/10978 Since 2024-09-25
|
||||
py:1000/10978 Since 2024-09-25
|
||||
py: Error. Trying Again...
|
||||
py:1100/10978 Since 2024-09-25
|
||||
py:1200/10978 Since 2024-09-25
|
||||
py:1300/10978 Since 2024-09-25
|
||||
py:1400/10978 Since 2024-09-25
|
||||
py:1500/10978 Since 2024-09-25
|
||||
py:1600/10978 Since 2024-09-25
|
||||
py:1700/10978 Since 2024-09-25
|
||||
py:1800/10978 Since 2024-09-25
|
||||
py:1900/10978 Since 2024-09-25
|
||||
py:2000/10978 Since 2024-09-25
|
||||
py:2100/10978 Since 2024-09-25
|
||||
py:2200/10978 Since 2024-09-25
|
||||
py:2300/10978 Since 2024-09-25
|
||||
py:2400/10978 Since 2024-09-25
|
||||
py:2500/10978 Since 2024-09-25
|
||||
py:2600/10978 Since 2024-09-25
|
||||
py:2700/10978 Since 2024-09-25
|
||||
py:2800/10978 Since 2024-09-25
|
||||
py:2900/10978 Since 2024-09-25
|
||||
py:3000/10978 Since 2024-09-25
|
||||
py:3100/10978 Since 2024-09-25
|
||||
py:3200/10978 Since 2024-09-25
|
||||
py:3300/10978 Since 2024-09-25
|
||||
py:3400/10978 Since 2024-09-25
|
||||
py:3500/10978 Since 2024-09-25
|
||||
py:3600/10978 Since 2024-09-25
|
||||
py:3700/10978 Since 2024-09-25
|
||||
py:3800/10978 Since 2024-09-25
|
||||
py:3900/10978 Since 2024-09-25
|
||||
py:4000/10978 Since 2024-09-25
|
||||
py:4100/10978 Since 2024-09-25
|
||||
py:4200/10978 Since 2024-09-25
|
||||
py:4300/10978 Since 2024-09-25
|
||||
py:4400/10978 Since 2024-09-25
|
||||
py:4500/10978 Since 2024-09-25
|
||||
py:4600/10978 Since 2024-09-25
|
||||
py:4700/10978 Since 2024-09-25
|
||||
py:4800/10978 Since 2024-09-25
|
||||
py:4900/10978 Since 2024-09-25
|
||||
py:5000/10978 Since 2024-09-25
|
||||
py:5100/10978 Since 2024-09-25
|
||||
py:5200/10978 Since 2024-09-25
|
||||
py:5300/10978 Since 2024-09-25
|
||||
py:5400/10978 Since 2024-09-25
|
||||
py:5500/10978 Since 2024-09-25
|
||||
py:5600/10978 Since 2024-09-25
|
||||
py:5700/10978 Since 2024-09-25
|
||||
py:5800/10978 Since 2024-09-25
|
||||
py:5900/10978 Since 2024-09-25
|
||||
py:6000/10978 Since 2024-09-25
|
||||
py:6100/10978 Since 2024-09-25
|
||||
py:6200/10978 Since 2024-09-25
|
||||
py:6300/10978 Since 2024-09-25
|
||||
py:6400/10978 Since 2024-09-25
|
||||
py:6500/10978 Since 2024-09-25
|
||||
py:6600/10978 Since 2024-09-25
|
||||
py:6700/10978 Since 2024-09-25
|
||||
py:6800/10978 Since 2024-09-25
|
||||
py:6900/10978 Since 2024-09-25
|
||||
py:7000/10978 Since 2024-09-25
|
||||
py:7100/10978 Since 2024-09-25
|
||||
py:7200/10978 Since 2024-09-25
|
||||
py:7300/10978 Since 2024-09-25
|
||||
py:7400/10978 Since 2024-09-25
|
||||
py:7500/10978 Since 2024-09-25
|
||||
py:7600/10978 Since 2024-09-25
|
||||
py:7700/10978 Since 2024-09-25
|
||||
py:7800/10978 Since 2024-09-25
|
||||
py:7900/10978 Since 2024-09-25
|
||||
py:8000/10978 Since 2024-09-25
|
||||
py:8100/10978 Since 2024-09-25
|
||||
py:8200/10978 Since 2024-09-25
|
||||
py:8300/10978 Since 2024-09-25
|
||||
py:8400/10978 Since 2024-09-25
|
||||
py:8500/10978 Since 2024-09-25
|
||||
py:8600/10978 Since 2024-09-25
|
||||
py:8700/10978 Since 2024-09-25
|
||||
py:8800/10978 Since 2024-09-25
|
||||
py:8900/10978 Since 2024-09-25
|
||||
py:9000/10978 Since 2024-09-25
|
||||
py:9100/10978 Since 2024-09-25
|
||||
py:9200/10978 Since 2024-09-25
|
||||
py:9300/10978 Since 2024-09-25
|
||||
py:9400/10978 Since 2024-09-25
|
||||
py:9500/10978 Since 2024-09-25
|
||||
py:9600/10978 Since 2024-09-25
|
||||
py:9700/10978 Since 2024-09-25
|
||||
py:9800/10978 Since 2024-09-25
|
||||
py:9900/10978 Since 2024-09-25
|
||||
py:10000/10978 Since 2024-09-25
|
||||
py:10100/10978 Since 2024-09-25
|
||||
py:10200/10978 Since 2024-09-25
|
||||
py:10300/10978 Since 2024-09-25
|
||||
py:10400/10978 Since 2024-09-25
|
||||
py:10500/10978 Since 2024-09-25
|
||||
py:10600/10978 Since 2024-09-25
|
||||
py:10700/10978 Since 2024-09-25
|
||||
py:10800/10978 Since 2024-09-25
|
||||
py:10900/10978 Since 2024-09-25
|
||||
py: Writing missings to file
|
||||
py: Writing database to file
|
||||
py: Done! 5869 comics added to database! (0 skipped and 5109 comics already in database)
|
||||
py: 1011620 comics in databased not retrieved in this round.
|
||||
py: 274 comics updated in database.
|
||||
py: Ids with error in server:
|
||||
py: 0
|
||||
sh: Moving old file to archive
|
||||
sh: git add
|
@ -43,7 +43,6 @@
|
||||
import requests
|
||||
import sys
|
||||
import os
|
||||
import io
|
||||
import re
|
||||
from datetime import date,datetime
|
||||
|
||||
@ -109,7 +108,7 @@ for line in comiclist:
|
||||
comiclist.close()
|
||||
|
||||
print("py: Querying ComicVine for new issues")
|
||||
headers = {'User-Agent': 'Update Missing/ (https://gitea.baerentsen.space/FrederikBaerentsen/ComicRack_Scripts/src/branch/master/Update Missing)'}
|
||||
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'}
|
||||
new_comics_cont = 0
|
||||
old_comics_cont = 0
|
||||
updated_comics_cont = 0
|
||||
@ -206,8 +205,8 @@ deleted_file.close()
|
||||
|
||||
print("py: Writing database to file")
|
||||
|
||||
outfile = io.open(out_file,"w",encoding="utf8")
|
||||
outfile.write(("Missing;" + end_date + "\n"))
|
||||
outfile = open(out_file,"wb")
|
||||
outfile.write(("Missing;" + end_date + "\n").encode())
|
||||
|
||||
for volume_id in sorted(comics):
|
||||
issues = ""
|
||||
@ -216,7 +215,7 @@ for volume_id in sorted(comics):
|
||||
issues += str(issue_id) + ","
|
||||
nums += comics[volume_id][issue_id] + ","
|
||||
issues = issues[:-1]
|
||||
outfile.write((str(volume_id) + ";" + issues + ";" + nums + "\n"))
|
||||
outfile.write((str(volume_id) + ";" + issues + ";" + nums + "\n").encode())
|
||||
|
||||
outfile.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user