Use source hashes for cover matching#730
Conversation
|
Metron talker patch: |
|
I don't think it's going to be much more effort to put a Only real question is representation of the GM field: |
Lets keep it as is for now. We can look at other ways of doing it later
#730 (comment) should take care of any unexpected errors, they should already handle an empty url (or the metron talker shouldn't work there at all). |
I've added If you're happy, the hard part next is making the tests :) |
14c81d8 to
3d4045a
Compare
3d4045a to
085b599
Compare
|
It's simpler to just explicitly ignore the ImageHash outside of the IssueIdentifier |
| year=ct_md.year, | ||
| publisher=None, | ||
| image_url=ct_md._cover_image or "", | ||
| image_url=str(ct_md._cover_image) or "", |
There was a problem hiding this comment.
Is this okay as is or should it be ct_md._cover_image if isinstance(issue._cover_image, str) else "" as well?
|
I thought adding the URL to Is there anything you want me to do with this? |
Is this the kind of thing you had in mind?
This turned out quite simple.