suryakencana007 / comic-vine-scraper

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

Cant Find Info On Comic: 11502 ('Black Panther') #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DESCRIBE THE PROBLEM:
When trying to scrape the Blank Panther series I get an error message.

WHAT STEPS WILL REPRODUCE THIS PROBLEM? (Please include the exact name of
the eComic book that you were trying to scrape, if possible.)
1.Search for Black Panther
2.Choose the 2005 version (note: seems like other versions cause the same issue)
3.View Error Log

WHAT VERSION OF COMICVINESCRAPER ARE YOU USING?
1.0.26

PLEASE PROVIDE ANY ADDITIONAL INFORMATION THAT MAY BE OF USE

Pretty much summed it all up.. Like I said, I checked a few other Black Panther 
series and they didnt work either.

Attaching 2 error logs.

Original issue reported on code.google.com by Bill.Ra...@gmail.com on 5 Aug 2010 at 3:52

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by cban...@gmail.com on 5 Aug 2010 at 4:18

GoogleCodeExporter commented 9 years ago
Thanks for the bug report.

I've created a fix and posted it in version 1.0.27, which you can obtain the 
same way you got version 1.0.26.

-----------------------

What follows is a brief technical description of this bug, for my own record 
keeping:

This bug was caused by this comicvine query returning 18 results when it 
*should* return 20:

http://api.comicvine.com/search/?api_key=4192f8503ea33364a23035827f40d415d5dc5d1
8&format=xml&limit=20&resources=issue&query=black%20panther&field_list=id,volume
&offset=120

Who knows why ComicVine's database does this?  Not me.   There's really no way 
for me to fix bad data like this, but I can make the scraper work around it, 
which is what I did (see svn revision 151.)

My fix isn't perfect--the scraper now does some unnecessary extra loading when 
dealing with the "Black Panther" series' (and possibly a small number of 
others.)  But at least it works properly without crashing now.

Original comment by cban...@gmail.com on 5 Aug 2010 at 5:17