r/comicrackusers • • Jan 08 '26

General Discussion Here it is: An offline Comicvine Tagger for ComicRack and ComicTagger!

[deleted] — view deleted post

42 Upvotes

91 comments sorted by

•

u/maforget Community Edition Developer Jan 08 '26

Just a FYI I haven't checked or tested the files linked/plugin. But for OP it would have been good to just post a GitHub link where we can see the changes you did to the original plugin, would have been way easier to review the code.

Not sure if you will see this or be able to respond, because it seems that Reddit didn't like the mega links, fast post and it seems the user is now banned.

Looks promising though.

2

u/thecuriousostrich Jan 09 '26

Okay, note 2: I downloaded this and attempted to run it, but so far have two major issues. The file will not unzip - it fails on extracting the database file, with regular windows unzip as well as a 3rd party unzipper (peazip). The second issue is with the plugin itself - it fails when attempting to run due to failing to find a "AppData\Roaming\cYo\ComicRack\Scripts\Local Comic Vine Scraper\native\x64\e_sqlite3.dll" I'm sorting several THOUSAND comic books right now and if this works it will save me so so much time.

2

u/thecuriousostrich Jan 09 '26 edited Jan 09 '26

Okay, back with one more note/bug report: looks like the DB updater is going to need some sort of rate limiting for issue updates. I tested it out and it worked absolutely perfectly for people and volumes, but updating issues returns multiple rate limit reports and then eventually says there are 0 issue updates since December. I know that can't be right so I'd guess the issue count is so high that the rate limit is causing it to report 0 updates. Without knowing for sure, considering that the people and volume updates in a month were in the hundreds, I would imagine it’s likely that the issue updates over a month are over 1,000. I suspect that’s throwing it off. That’s the only step that has problems.

1

u/thecuriousostrich Jan 09 '26

Update: this may have had something to do with me. It seems like the previous calls (publishers, people, volumes) hammer the API key too much for the issues to update, rather than just being an issue with the issues update call in particular. I re-ran this this morning and, as it was able to update people and volumes last night, it was actually able to pull issue updates. It only pulled them for a single day, but it did pull them. I am still investigating workarounds.

0

u/[deleted] Jan 09 '26

[deleted] — view deleted comment

1

u/thecuriousostrich Jan 09 '26

It does indeed wait 60 seconds, but last night that wasn't working - it was retrying 3 times and failing. I was using my comicvine keys to scrape some actual books before so I think it may have contributed. I was able to solve it on my side by extended the sleep time between API calls to 10 seconds and setting the rate limit wait time to a full hour, so the api call limit resets. With those changes it's working perfectly - slowly but perfectly. I never saw a rate limit message until it got to the end of processing the number of issues, it waited an hour and started pulling the actual issue info, it pulled 200 and hit a rate limit (which makes perfect sense) and paused for another 3600 seconds. So my edits are working perfectly.

One change I would advise making is, if possible, to check each section (people, publishers, issues, volumes, etc) individually for their last update. As it works right now it only checks the last update date of the entire DB, and then only updates changes since then for all sections. In other words, last night, when I ran it, it updated publishers, people, and volumes, but then failed on issues. When i ran it this morning, issues actually worked, but it only updated issues from yesterday to today, as that was the last time the entire database saw an update, despite the fact the issue section actually never updated because it failed out. I'm not a good enough programmer to make this change but I wanted to throw it out there as I can see a potential problem if the updater is interrupted. If you run the updater on, for example, the 1st, and then run it again on the 5th but it gets interrupted somehow, and then run it again on the 10th, the run on the 10th will only process changes between the 5th and the 10th, meaning the changes which occurred between the 1st and the 5th for the fields which it was interrupted before processing on the 5th will never be updated.

thank you again for making this and all your work on it, I promise I'm reporting all this stuff/making all of these comments because I am so deeply invested in how amazing this is and I want to see it thrive, not just to complain about small things. even as it is it's going to be like, almost life changing for me and I cannot thank you enough.

2

u/maforget Community Edition Developer Jan 09 '26

Yep it fails to extract with WinRAR & 7-Zip also.

The sqlite file is present, but it is in a subfolder and it is all flatten on install. From memory plugins can't have subfolders and must be flat. There is also a package that is in a folder that probably won't work because of that. You will probably need to install it manually.

But without that db file it is probably worthless as a plugin.

1

u/ThePauler Jan 09 '26

I get a CRC error, but it extracts for me. Haven't tested anything and the db could be corrupted since that's the file that errors out.

2

u/maforget Community Edition Developer Jan 09 '26

Link has been updated.

2

u/thecuriousostrich Jan 09 '26

I'll be gosh darned. It works. Oh my god. I literally cannot explain how helpful this is for specifically me at specifically this moment. God bless you both.

1

u/WraithTDK Jan 09 '26

Sounds incredible. Two big questions for me:

  1. With the current comicvine scraper plugin, if I have a cvinfo.txt file in the folder I'm scraping, it will assume all the comics in that folder belong to whatever series is in that file. This is a Godsend for automatic scraping. Is this functionality included in your project?
  2. How much can the process to keep it updated be automated? Can I have it update itself hourly, and limit itself to 150 request/hr? Something like that?

0

u/[deleted] Jan 09 '26

[deleted] — view deleted comment

1

u/WraithTDK Jan 09 '26 edited Jan 09 '26

Oh man, it's a GAME changer. As part of my workflow, I have a folder structure like this:

.\unsorted

..\auto

...<folders named after formats>

..\Manual

...<folders named after formats>

Under manual are coming that are mostly "loose." I only have 1 or 2 from a series, or it's some form of one shot.

But under auto, I break everything from the match I'm scraping into folders based on the volume, with a cvinfo file in each folder. In comic rack, I have a smart list that shows me every comic that's under the manual folder list and every one that's under the auto list. The auto list I just have the scraper identify the comics automatically, and It's virtually never wrong unless the comics had and that weird, funky naming scheme.

1

u/Subject-Discount-573 Jan 23 '26

I have altered the python script so it can run non-interactively after you run it the first time to generate the API key file. That will make it something you can schedule daily, or whatever. I also have it waiting a bit longer between API calls to not hit the 200 API call limit. I also put in the back-off time to wait 5 minutes before retrying.

I'm happy to post my changes (or just the code snippets to replace). I used Codex for some of the changes and also some Python knowledge that I have. Seems to work fine. Would the author mind if I put the updated script somewhere if folks want it? If so, what is the best way to share that with others?

1

u/Hexaphim Jan 09 '26

Is anyone else having encoding issues with this? When I tried re-scraping a comic that had creators with for example é in their name, the é is replaced by gibberish.

0

u/[deleted] Jan 09 '26

[deleted] — view deleted comment

1

u/Hexaphim Jan 14 '26

Thank you kindly, that did the trick!

1

u/AdeptBlacksmith447 Jan 09 '26

How exactly is this supposed to work? I might have installed it incorrectly.

Does it need to sync or download any data from ComicVine first, or does it query ComicVine live as needed?

Also, how do the other databases factor in — do they require any setup or syncing beforehand?

0

u/[deleted] Jan 09 '26

[deleted] — view deleted comment

1

u/AirlineExternal Jan 10 '26

I am having issues trying to insall the plugin. I unzipped the download, changed the crplugin to zip, moved the folder to script folder and then I get an error message. Am i missing a step?

1

u/SnooWalruses8280 Jan 10 '26

Same here! Is there something we need to do with the subfolders to flatten it out?

1

u/maforget Community Edition Developer Jan 10 '26

You need to install it manually because otherwise they will flatten and thus not work correctly. The script has taken into consideration that there is a subfolder and will correctly read it when not flat.

1

u/dgparryuk Jan 12 '26

when you say manually - do you mean unzip and just drop in the folder where the other plugins are? and not using the install under the preferences?

2

u/maforget Community Edition Developer Jan 12 '26

Yes

1

u/maforget Community Edition Developer Jan 10 '26

Redownload from the updated link, first version archive seemed corrupted and thus the db wouldn't extract.

1

u/Enliqhtened Jan 24 '26

This is fantastic. The hash matching is finding comics I could never match. The tpb has a couple mismatches in my testing. But everything else has been going great.

0

u/[deleted] Jan 25 '26

[deleted] — view deleted comment

1

u/Enliqhtened Jan 25 '26

It was with hash on. But the covers weren't even close from memory. I have a smart list for tpb that I scrap by hand. I only did a test on 5. The director cuts it did a good job on though.

1

u/public_fred Jan 24 '26

Finally been able to test this out. Got it installed, loaded up the DB and tested on a few comics. So far so good.

When i select comics and then start the plugin, it is very very slow initially. Comicrack just says 'Not Responding' for minutes before it start. Is this because the whole DB has to load or what;s the issue?

0

u/[deleted] Jan 25 '26

[deleted] — view deleted comment

1

u/public_fred Jan 25 '26

As far as I can tell that’s recommended right?

If I don’t enable the two hash types in settings, it’s just matching based on name which isn’t that accurate?

1

u/Subject-Discount-573 Jan 18 '26

I agree with all the comments saying that this is a total game changer. I was expecting to be scrapping my comics until I'm retired, but now it seems doable in a year or two.

One question for the author (or anyone else), can I update the database while the scrapper is running? I've been closing it out and updating it overnight. I don't know if this is necessary or not, but didn't want to press my luck.

Now we need the "Get Issue Count from CV" script updated to leverage the local db and we'd be flying!

1

u/Subject-Discount-573 Jan 21 '26

One thing I also noticed, which I haven't seen posted elsewhere in these threads, is that it doesn't have a copy of every volume or issue, even after updating. There have been series that never came up in cv_local but CVS finds with no problem. It's got 99% of it, so still a great feat and a huge time saver. If you're scraping, don't forget to give the ones it can't find another pass with CVS.

0

u/[deleted] Jan 23 '26

[deleted] — view deleted comment

1

u/Subject-Discount-573 Jan 23 '26

Thanks for responding. I've run into it 3 times so far. I can't recall what one of the series was, but the other two were:

Adventures of Venus https://comicvine.gamespot.com/adventures-of-venus/4050-50713/

U.S.Avengers https://comicvine.gamespot.com/u-s-avengers/4050-97772/

For the local CVS plug-in these would never show up, no matter which way I seemed to type in the search terms (I also ran the updater and tried it with no luck). The regular CVS plug-in got them without any intervention on my part.

Again, I've scrapped 20000+ comics in the few weeks its been released, and it gets nearly all of them with no intervention. Even missing a few, this is still a huge win.

1

u/Subject-Discount-573 Jan 23 '26 edited Jan 23 '26

Here's a 3rd and 4th example.

A-1 Comics https://comicvine.gamespot.com/a-1-comics/4050-1032/

Black & White https://comicvine.gamespot.com/black-white/4050-23188/

I'll stop posting further examples. One commonality between 3 of them is they have a punctuation mark in the Series name.

Once the issue has the comicvine_issue value set, the localdb scrapper will find it. So I agree that the issues aren't missing, it does seem to align with the search function working differently.

1

u/public_fred Jan 24 '26

Get Issue Count from CV

I'll see if i can update my plugin to optionally use the localdb. Didn't even think of that. Great idea

1

u/Subject-Discount-573 Jan 24 '26

That would be great! I use your workflow as template, thanks for posting it and for the plugin.

1

u/public_fred Jan 25 '26

I just updated CVIssueCount and it now has both a menubar button (no need for right click), settings GUI (no need to edit the python file) and support for localcv.db.

Since the TOS for ComicVine doesn't allow for redistribution of their data, you have to get the localcv.db from here and there's also a couple of extra steps in the new README on how to get the sqlite3 dlls (as I don't want to redistribute them).

I ran the sqlite_cv_updater.py from OP overnight and got my localcv.db updated with all the new comics and it's so much faster to scrape and tag.

CVIssueCount skips the delay if using localcv.db and is so fast at updating info now.

1

u/Subject-Discount-573 Jan 25 '26

Wow! Thanks for the quick turnaround. I followed the instructions in the README and it works great. Amazing efforts from several folks in the CR community to not only keep this application alive, but better than ever.

1

u/Subject-Discount-573 Jan 25 '26

I think I spoke a bit too soon! It was cranking along great and then CRCE got hung. I ended the task, and now it either won't read from the localdb at all, or it will report 0 for all of the volumes. Reaching out to CV directly still works. Any ideas?

1

u/Subject-Discount-573 Jan 25 '26

UPDATE: I ended up completely removing the latest plugin and reinstalling from scratch. That got me running again.

1

u/public_fred Jan 26 '26

sorry i didn't see the reply, you replied to yourself, so it never hit my inbox.

I had the same issue, i selected too many comics and CRCE hung. I had to force close and then the report was all 0. Weirdly 100% same issue as you. I can't figure out why but I'll see if maybe the database connection isn't optimal.

I didn't have to reinstall the plugin, just restart CR from the file menu and it was fine again.

1

u/Subject-Discount-573 Jan 26 '26

Thanks for responding and checking into it.

1

u/Subject-Discount-573 Jan 27 '26

I don't know if you've had a chance to look into it more, but I'm continuing to run into the issue. V3 of the script will work great for a while, then eventually it will put in 0's or nothing for the count. Restarting CRCE has a worked a couple times, but I usually end up removing and readding the plug-in. When it stops working, even reaching out to CV directly doesn't work.

Let me know if there is anything I can do to help test this out. Despite the issues, it's still worth the effort to reinstall each time.

1

u/public_fred Jan 28 '26

I did find a fix and I’ll upload a new version today!

2

u/thecuriousostrich Jan 16 '26

Just coming back a week later to say that you've changed my life with this. I've made a MASSIVE dent in my huge scraping backlog with the assistance of this, in just a few days. Thank you so much for making this!

1

u/thecuriousostrich Jan 09 '26

Does this still present comics for manual approval if you don’t have auto selection turned on?

1

u/spiral_larips Jan 09 '26

We need to get this into https://metron.cloud/

1

u/Krandor1 Jan 09 '26

Interesting. Will be trying this tonight since I have a large backlog I was going to work through this weekend.

1

u/Krandor1 Jan 11 '26 edited Jan 11 '26

Played with this a good bit today. Used all identification methods and for now put the cover one at 0 (exact only).

When scraping things with some data already (I run comictagger in the background for what it can find and then still use CVS to add the comicvine_issue, comicvine_volume fields but might stop that) it was very very fast and of course no rate limiting issues (I did modify my CVS so on rate limit it backs off 5 minutes and tries again).

On comics it has to identify it has been pretty slow (though my NAS is doing a lot right now which could absolutely be contributing) but it also is identifying more then the main CVS did so I'll take closer over more accurate anyday.

My main suggestion would be on the update script if you are only hitting Comicvine using that script I think a 60 second backup is too short and I think it should be a 5-10 minute backoff. I'd also like a way to setup the database update script in a crontab or scheduler type format so it runs at 1am or so every day with no intervention needed. As it runs you need to still tell it where DB is and last date to run. put those as command line arguments or have a daemon/server mode where it sits in background and runs ever 24 hours or so.

EDIT : in a recent back I downloaded actually had a few old comics with numbers of 196401 for the january 1964 issue and the filename did not have that but this version of the script did find and scrape them properly and those are ones I would have to do manually.

Also I used to do a full rescape of all my comics every year or so since metadata and info can be added/changed but since the 200 hits/hour limit have not been able to. Now I see a way to do that again and even quicker.

1

u/boshuda Moderator Jan 15 '26

This was working, but now I'm receiving the following error when trying to either configure or scrape:

An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

I've reinstalled ComicRack CE, I've uninstalled the script multiple times and reinstalled it. I've restarted CR in between removal and installations. I've installed the script via the Scripts dialog in CR preferences, started CR to get it all flattened out, then copied the files into that location so they were no longer flattened out. I've skipped that and simply unzipped the files into the plugins directory (preventing it from flattening out at all). I've restarted my computer. Nothing seems to be working. I don't believe Windows did an update between when it was working and when it stopped working because I was actively working with the computer and didn't shut it down or start the Windows update process.

I'm at a loss and looking for any suggestions.

1

u/boshuda Moderator Jan 19 '26

I resolved it (or got lucky, whatever). I installed the plugin via the CR Preferences dialog. Restarted CR. Tried to run the plugin's config. It errored because the path was incorrect. I unzipped the plugin into the appdata\...\plugins\Local Comic Vine directory, choosing to overwrite nothing. I then restarted CR and ran the configure successfully.

1

u/Enliqhtened Jan 25 '26 edited Jan 26 '26

I'm trying to use Comictagger 1.6.0-beta.10 and when it finishes and i click to see ones with multiple matches it just errors out. Which version of Comictagger should I be using?

2026-01-25T16:49:39 | comictaggerlib.tag | ERROR | Online search: Multiple low confidence matches. Save aborted

Edit.
I had a thought. It's removing all comics with the "Remove Archive from list after successful tagging" ticked. Even the unsuccessful ones. Unticking that leaves the comics in tagger and pulls up the matches after it finishes.

1

u/boyobob55 Feb 07 '26

Hey I designed something sort of similar, using a VLM instead of hash matching. Maybe we can combine programs! https://github.com/boyobob/OdinsList

1

u/viivpkmn Feb 16 '26

That sounds interesting.
What's the minimal GPU requirement to run it?
Alos I didn't understand how you cover match locally (in your Github's diagram it's on the same level as the CV API call, not after), so do you have all covers locally?
Also, if you could interface it with the local DB provided here, it could be even faster.

1

u/boyobob55 Feb 18 '26

Thanks for your interest! I tried to make my program "model agnostic" so a user can plug in whatever AI model they choose, even non local cloud ones so long as they are vision enabled. I've only tested it with Qwen3-VL-8B so far locally. There are smaller variants (2B & 4B) you could run with probably like 4GB VRAM if quantized? I need to test some other smaller models lol. For the cover compare it grabs them from the comicvine API and caches them in /tmp, then sends a batched request to the model with both images at the same time to compare. I try to avoid using the comcivine API as much as possible and most matches are made through the local SQL database and no cover compare, but it handles some edge cases where a match cant be found for whatever reason. I definitely want to play around with OP's database and hash matching though. From my understanding the cover images would need to be cropped and not have any glare (sleeve removed) etc to get a decent match. All my photos were uncropped and a lot of them had sleeves on/glare

1

u/viivpkmn Feb 18 '26

Thanks for the reply!
Ok so the model-agnostic part is very good, but yeah I wonder what the performances would be with the 4B model vs the 8B for vision...I'd be interested if you ever get to run some comparisons!
And ok got it for the cover matching, so yes it still depends on the CV API which is indeed not ideal. A local DB of all CV covers would be ideal for that, but would weigh several tens of GB.
The hash comparison would not need a vision model though, unless I misunderstood something?

In any case I'd like like to see more results using the local VLM route!

1

u/boyobob55 Feb 20 '26

I have a gut feeling it would run ok with a very small model. I'll test out how small i can go and compare against my original runs when i get some free time. It would be sweet to just bundle a very small one with the program so its plug and play!

and lol I was floating the idea of trying to webscrape all of their covers and just use a massive photo database! maybe some compressed searchable version would be possible?

I'm not too familiar with hash matching honestly, but yes definitely no vlm needed! It creates a hash on whats in the photo and compares how similar it is to other hashes? I experimented with it for cover photos and it just wouldnt work unless the cover image was perfectly clean and cropped. I probably need to play around with it more lol

1

u/viivpkmn Feb 26 '26

So yes, cropping is a big problem for hash matching, there are "crop-resistant hashes" but they have not performed very well in my tests and take much more time to compute than regular ahash/fhash/phash.

I'm not sure how a compressed cover would perform with respect to a real one with VLM, I'd be curious to see the results of that,a s well as the 4B vs the 8B model one :)

1

u/g4rc00 Feb 10 '26

Hey
I've downloaded the database of 20260109
I'm currently updating it locally, but with the limit of the api, it takes a very long time
Does anyone have a more recent database I can download.
Thx!!!

1

u/Altruistic_Finger669 Mar 01 '26

how do i install this? I keep getting "local comicVine data error - local comicvine encountered a data error. no such colomn: v.name"

1

u/Ronin22222 Mar 06 '26

This is fantastic. It's night and day difference when scraping. Thank you for this. One request I have is a silent updater that doesn't prompt for using the database found in the directory, doesn't prompt for a date range and doesn't pause after giving the results splash screen so it just updates. This would make a scheduled task to keep it up to date seamless. Even if it's just a modified version of the python script that would be greatly appreciated.

1

u/Subject-Discount-573 Mar 06 '26

This is what you’re looking for.

1

u/Ronin22222 Mar 07 '26

Perfect. Thank you!

1

u/theotocopulitos Mar 07 '26

It took me a while to make it work, but finally working beautifully

So, so many thansk for this!

1

u/theotocopulitos Mar 11 '26

So, I installed this a couple of days ago, and had it sucessfully working... great, great, great... My 0-day collections had 70000+ comics to scrape, and they seemed a good test... i figured most 0-days would be in the database...

My CR installation tends to halt, stop and is slow... despite of this this script is just amazing... made me believe I can finalize scrapping my collection before retirement age ;)

But I am having an issue: all my comics are converted to cbzs, so MD5 fails in most comics... ok, expected... the problem is that there are a bunch of files that have scanners tags as the first page... and in this case I am getting false positives, since relying only on cover MD5 means that there will probably be many comics with the same MD5 cover... since it is a repeated image accross many comics...

1

u/theotocopulitos Mar 11 '26 edited Mar 11 '26

Title: FYI: Python standalone version of the Local Comic Vine Scraper

Hey everyone,

Just wanted to let you know I've ported the Local Comic Vine Scraper to a standalone Python version. I did this mainly because my ComicRack installation has been running slow and halting a lot lately, and I needed something more stable for batch processing.

Why I did this:

ComicRack became sluggish for me, especially when processing large batches of comics. The Python version runs much more reliably on my system and doesn't have the stability issues I was seeing with ComicRack.

What's the same:

- Uses the exact same hash matching logic (MD5 + perceptual hashes)

- Reads from the same LocalCV SQLite database

- Writes identical ComicInfo.xml files

- Same fallback matching levels (hash → visual → text search)

What's different:

- Pure Python, no .NET/ComicRack dependency

- Cross-platform (works on Linux/macOS)

- Added a few UI enhancements (filter boxes, page browsing in dialogs)

- Can run as GUI or command-line tool

- More stable on my system (no halting/freezing)

Performance:

Keeps the same matching speed as the original since it uses the same database and algorithms. The perceptual hash cache loads into memory the same way.

It is IMPRESSIVE how fast this is: almost 40.000 comics (forty thousand) scrapped in 10 hours, only 900 not matched. Crazy

Compatibility:

You can reuse your existing LocalCV database - it reads from the same tables with the same queries. Output is 100% compatible with ComicRack.

There are only two caveats:
- Comics starting with an scanner tag as cover give false results (see post above)

- If comics are in my database, I cannot get comicrack to re-read the new comicinfo.xml... asking about this in the discord...

If anyone else is running into ComicRack stability issues or just wants a lighter alternative, I will share it on github if there is interest

2

u/FedUpWithEverything0 Jun 03 '26

Interested if you ever finish it 😄

1

u/osreu3967 Jul 04 '26

Very interested in it. Could be a good idea to push to github. Please consider to share ASAP.

1

u/trapventures Mar 21 '26

I would love this if you ever got a chance to share it somewhere.

1

u/theotocopulitos Mar 21 '26

Will do! Allow me a few more days

1

u/mardagg78 Jul 03 '26

how is it progressing?

1

u/theotocopulitos Mar 14 '26

u/Logical-Feedback-543 ... your work here is just amazing. I cannot thank you enough. I am surprised the limited response I am see. This is a game changer...

I am in the process of converting this into an standalone tagger... But I have found an issue I want to share with you primarly, and the community

# Major Discovery: Scanner Tags Are Corrupting Comic Cover Matching Databases


## TL;DR
I found that scanner group tags/intro pages in comic archives are being identified as comic covers in hash database, causing false matches and breaking 1-to-1 cover matching accuracy WHEN COVERS HASHES ARE USED.


## The Investigation
I was analyzing a collection of 
**70,000+ comics**
 and discovered something concerning while comparing hashes between my collection and a LocalCV database:


### Step 1: Found Scanner Tag Hashes
  • Identified
**24 unique hashes** that appear to be scanner group tags/intro pages USED AS COVERS
  • These are not actual comic covers but rather scanner credit pages, group intros, or "please support us" messages
### Step 2: Cross-Reference with Database I checked if these "scanner tag hashes" exist as legitimate covers in the database: **Results:**
**768 database entries** have these scanner tag hashes listed as their "first page" or "cover"
  • One hash (`0c57dd84e2b6ccacd8c2b3cf437ca9a3`) appears in
**hundreds of different comics**
  • Comics from completely different series all sharing the same "cover" hash
## Examples of the Problem ``` Hash: 0c57dd84e2b6ccacd8c2b3cf437ca9a3 Appears as "cover" in:
  • Solo 009 (2006)
  • Batman 655 (2006)
  • Detective Comics 809 (2005)
  • Ex Machina 023 (2006)
  • Justice League of America 000 (2006)
... and hundreds more ``` ## Why This Happens 1. **Scanner Groups Add Tags** : Many scanning groups add standardized intro pages or credit pages 2. **Hashing Logic Flaw** : Hash extraction tools grab the "first page" without distinguishing between actual covers and scanner tags 3. **Database Contamination** : These scanner tag hashes get stored as legitimate cover hashes ## The Consequences ### 🚨 Broken Matching Logic
**False Positives** : Completely different comics appear to match because they share the same scanner tag
**1-to-Many Mismatch** : One hash matches hundreds of different comics
**Accuracy Degradation** : Cover matching becomes unreliable for identification ### 🎯 Real-World Impact
  • Comic identification systems can't distinguish between actual covers and scanner tags
  • Duplicate detection fails because scanner tags create false duplicates
  • Database integrity is compromised for accurate comic cataloging
## The Scale of the Problem
**24 scanner tag hashes** identified in a 70K comic sample
**568 database entries** affected (and likely many more)
**Conservative estimate** : This affects ~1% of all comics in major databases ## The CBR-to-CBZ Conversion Problem Many users (myself included) convert their original `.cbr` (RAR) archives into `.cbz` (ZIP) for better compatibility with modern readers. This re-packaging changes the **file-level hash** of the archive, meaning the file hash no longer matches the one stored in the database. This leaves us with **only cover/first-page comparison** as a viable matching method — which is exactly the mechanism corrupted by scanner tags. So if you're using tools like the **ComicVine Offline Scraper** (or similar hash-based matchers), the practical implication is grim: **you need to tag/scrape your comics first, then convert** — because after conversion, the only fallback is cover matching, and cover matching is broken by scanner tags. I'm going to try to work on a solution for this, but in the meantime, be aware of the issue. ## Solutions Needed 1. **Hash Filtering** : Create blacklists of known scanner tag hashes 2. **Smart Detection** : Use image analysis to distinguish covers from text-based tags 3. **Database Cleanup** : Remove or flag scanner tag hashes from cover databases 4. **Improved Extraction** : Better first-page detection that skips scanner intros ## Call to Action If you're working with comic databases, hash matching, or comic identification systems:
**Audit your hashes** : Check for repeated hashes across different series
**Implement filtering** : Don't rely solely on first-page MD5 for matching
**Share scanner tag hashes** : We need a community-maintained blacklist. ## Conclusion This discovery reveals a fundamental flaw in how we approach comic cover matching. The assumption that "first page = cover" is breaking database integrity and causing systematic matching errors. We need to rethink our approach to comic identification and implement smarter filtering to separate actual covers from scanner metadata. --- ## PS: The 24 Offending Scanner Tag Hashes For transparency and to help others filter these out, here are the scanner tag hashes I identified: ``` 9d692a727fbdc70b93d8131fcb6a7cf7 b01d66387a7a6d0c290d59a9060e4ccd aeba9c31c1204e28515a66e858152861 b99f3cb96cb1502c5ddcd7bb61e03549 46d25b4aa8569fea3504802fdc11cf94 9983dba919bb6593571ec26b75e4de5b 2d97d6e2e8cf57be6d663200cf34de01 0c57dd84e2b6ccacd8c2b3cf437ca9a3 04952205305496f15df59cab22d9cf75 c6f23807b70717cc84f6df172b0d1526 0d8cfbcb29e24f0189ad2e6c184e1dcc b914e03c0b8a81754eedf8368af252de eeb0859461355f05b6a597c939f0f10d 6e1b457fca1813c1c10cf167aa34b491 acc9c454bdb8565117bfb4325020e0c9 2539223628a350e4e201e2850bfe2ced c128f5646b705f25cc5c33a6849757d3 845e16c2557a1931df44d49276bc1ec9 464b890258f6ec51f4d4c5293580af9f 44b83c0add4b4dfb64857fd703bbd145 750aa5837536b4e9b38220dba2e86298 57ffb6b3e1086a2f615a067246133efd 30900fa4749846afe1a4acada3d388e6 660e643652ecfe588efda18ec9d07fd5 ``` If you're maintaining a comic database, consider adding these to a blacklist to prevent false matches. These hashes correspond to scanner group intro pages from groups like Minutemen, DCP, CPS, Empire, and others.

1

u/Bufete2020 Mar 17 '26

THANKS FOR THIS... (hopefully you can still read the comments).. with a couple of false starts I was able to get it up and running.

My OS HDD died (all my comics are on externals) and after reinstalling everything I came across 3k comics (out of 45k) with faulty tags. All my files are properly named with series/volume.# etc.. so I turned off the MD5 hash checking, since all my files are properly named, checking for cover photo seemed like overkill.

I tested it out on a few series and it burned through 100 issues in 5 minutes. now I have it going through the rest of the broken tag files. i'm doing one decade at a time and keeping the search parameters between the specified years. So, thanks again, you made a time-consuming task more manageable

1

u/RiverWrong5216 Apr 16 '26

Hi, I’ve installed on my laptop, but couldn’t get it to work. The configuration option does nothing when I click it, and when I try to run it, I get the error ‘scopeStorage’ object has no attribute ‘cvs_scrape’, any help?

1

u/Bufete2020 May 25 '26

did you get this running on your laptop?

1

u/LeftSquirrel4374 May 26 '26

Still not working, any help gratefully received

1

u/Bufete2020 Jun 01 '26

Yes, I did get it working... I did what u/boshuda said he did in the comments below.. The file LocalComicVineScraper-1.0.3.crplugin is a zip file.  I just unzipped this file into the “AppData\Roaming\cYo\ComicRack Community Edition\Configurations\Scripts\” folder.  And it started working. 

if you get it working... let me know. i have an updated localcv.db file I can share with you.

1

u/FedUpWithEverything0 Jun 03 '26

Can we get an up[dated version of the database? the database updater times out because of the number of requests to the API is too high to update it

1

u/MeatAbstract Jun 10 '26

Is there any way to get this to choose the series automatically? No matter what option I chose under behaviour it still need me to manually confirm every one. Which can take a while when you're doing thousands of comics.

1

u/glassjaw9 Jul 22 '26

I'm having the opposite problems -- in most cases, it will start matching automatically (even though I have that option unchecked) and then midway through a run it will ask for confirmation.

1

u/mardagg78 Jul 03 '26

any guide on how to install it and use it for us mortals?

1

u/SaulTeeBallz Jul 04 '26

Just found this thread. I use comictagger/linux

Currently updating the localdb, appriciate the script and plugin and db, now that it's in the wild, it will be improved on, do you mind if someone makes a repo? For the industrial scale tagging types, this is a godsend.

Will report back.

1

u/TemplarB Sep 05 '26

First of all, thanks for your plugin - I just decided to scrape and organize my old collection and it definitely helps. A question - how fast should it work? Because I try to run it on my not-too-old machine with win11 x64 and comics on my NAS (linked with 10Gbe, so should be fast) and it 'thinks' more than a minute per issue

1

u/DarthDad77 Apr 08 '26

Anyone have an upated sqlfile by chance? Mega (at least for me) is hung. Thanks!

0

u/[deleted] Jan 08 '26

[deleted] — view deleted comment

3

u/maforget Community Edition Developer Jan 09 '26

If I understand correctly you can't use it normally if it's not in the database. I only did a quick diff of the files and you seemed to have removed some stuff so is it still possible to fallback to actual comicvine if it's not in the database?

I don't think that having everyone to need to update their own file is a good solution. With the limit we would all have to update our file daily. It could be done by a third party website. Like u/public_fred as done for the mcl file (link).

But the problem becomes hosting with such a big file. It would need somekind of delta patch to update the new version.

Note: All your comments needs to be manually approved, this will be annoying 🤣.

3

u/public_fred Jan 26 '26

I updated the sqlite_cv_updater.py script to run using cron and posted it to my gitea page but as /u/Logical-Feedback-543 says, the CV TOS isn't happy with distributing their data, so I won't be hosting an up-to-date database. The mcl file is a bit different (imo) as it's just random numbers and not really any specific data.

By setting up a cronjob, its easy to keep your own database up to date daily.

0

u/[deleted] Jan 09 '26

[deleted] — view deleted comment

2

u/maforget Community Edition Developer Jan 09 '26

Last comment went though without requiring approval and you don't seem to be banned anymore.

1

u/public_fred Jan 09 '26

I’ll test it out!

Adding to what /u/maforget said, how is the database update actually done? Is it possible to setup a daily update of the db ?

1

u/daelikon Feb 02 '26

Hello, first of all, thank you for this. I have not had time to test it yet, although I plan to try it this week, I have a few big historical dumps of Marvel comics waiting to be added.

I have wanted something like this for literal years, I hope you keep working on it and maybe doing a re-release maybe once every three months with an updated DB.

I will report back once I have been able to test it.

And lastly, I honestly expected this to have much more impact here, I am a bit surprised by the lack of comments.

1

u/daelikon Feb 03 '26

Ok, so I have tried it on comicrack, it works as expected after copying manually all the files from the zip without folder structure (all of them in a single folder), in the scripts folder of the programs (under your profile), in my case that was:

c:\Users\yourusername\AppData\Roaming\cYo\ComicRack Community Edition\Scripts\localcvdb_20260109\

I wrote this in case someone reads it/needs it, as the whole copying without the folder structure from the zip wasn't clear in my opinion.

An option to select the order of the matching would be extremely useful, I have not heard of comictagger before this posting, so I will check that out as well, as it seems that it has that option as well.

I still need to test the DB updater, but for the moment this is very, very promising.

The hash matches under comicrack were painfully slow, to the point of almost making them useless but they also work, so for a "last resort" matching they can also help a lot.

Thank you again

1

u/daelikon Feb 05 '26

Ok, so a few more notes, the search does not work when some special characters are included, I have identified issues with series like G.L.A (from Avengers) and A+X (also avengers), both seem to be identified correctly by the comicvine script but the local search just does not find anything.

The update system of the DB does work by the way.