suryakencana007 / comic-vine-scraper

Automatically exported from code.google.com/p/comic-vine-scraper
0 stars 0 forks source link

Record if local book does not have all the covers listed in CV #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is a little out there and may be beyond the scope of this project.  
Basically, I'd like a way for the scraper to count the number of covers on a CV 
entry and flag (somehow... maybe an entry in notes or a tag?) if the book in CR 
does not have the same number of covers.  This can work off the count of pages 
with a page type of front cover (if the book has both of two covers included 
int he file but only one page in the CR metadata is flagged as a cover, that's 
fine to note that the book is missing a cover flag).
Please let me know what you think.  If this isn't a fit for this project, I'll 
submit it as a script idea on the CR website

Original issue reported on code.google.com by bmen...@gmail.com on 29 Nov 2010 at 4:56

GoogleCodeExporter commented 9 years ago
Yeah, I think I'll pass on this one, since it doesn't really fit in with comic 
vine scraper's main goals, and it would only be useful for a very small subset 
of users.

If someone wants to do this as a separate script for you, they'll probably want 
to swipe some code from CVS, since Comic Vine does not actually directly 
provide a list of Comic Book covers in their web api--CVS actually obtains 
cover image URLs directly from the Comic Vine website, using regular 
expressions to scrape them directly off the webpage (the whole process is 
actually fairly tricky.)

If you find someone to implement this, I will be happy to point them to the 
regular expression code in CVS, if they want to copy it.

Original comment by cban...@gmail.com on 29 Nov 2010 at 5:07