Welcome, Guest
Python Scripts for ComicRack

TOPIC: Comic Vine Scraper Patch [Not Official]

Comic Vine Scraper Patch [Not Official] 3 months 2 weeks ago #49139

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 576
  • Thank you received: 142
  • Karma: 29
I thought about it, but I don't think anybody here will use my API key and it is easier for everyone to look at the link XD
The administrator has disabled public write access.

Comic Vine Scraper Patch [Not Official] 3 months 2 weeks ago #49140

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 576
  • Thank you received: 142
  • Karma: 29
This version of the patch will correct the problem with the "-" in most cases.

File Attachment:

File Name: cvdb2.2.zip
File Size:9 KB


(this is still based on my old patch, and is not made from 0, I have to see how the new search works, but at least this should help a bit meanwhile)

I don't understand yet why if I make a query like "spider+man" returns "spider-man", but if in the script I do that it doesn't...

For now I just changed "A-B" to "AB", which seems to work fine... (although it will not work if CV have it as "A B")

At least this version of the patch works with BOTH version, the pre new release of the API and the post new release... Although it will not work as well as it used to before the release (it will not ignore words anymore, so forget about "05- Avengers" to work anymore)
Last Edit: 3 months 2 weeks ago by Xelloss.
The administrator has disabled public write access.
The following user(s) said Thank You: Targg

Comic Vine Scraper Patch [Not Official] 3 months 2 weeks ago #49144

  • boshuda
  • boshuda's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 333
  • Thank you received: 85
  • Karma: 10
It's a shame. After the patches it was working quite nicely. It was able to deal with extra words, had a better success rate, and made it easier to pull in more potential matches without a new search.

Nice work.
The administrator has disabled public write access.

Comic Vine Scraper Patch [Not Official] 3 months 2 weeks ago #49145

  • Targg
  • Targg's Avatar
  • Offline
  • Senior Boarder
  • Posts: 46
  • Thank you received: 7
  • Karma: 2
Nice work on the updates! I have been scraping a few thousand comics over the last few days, and it works quite well.

The one series it can't seem to find is "Captain America and the Mighty Avengers." I have to put in the series id to make it work.

comicvine.gamespot.com/captain-america-t...avengers/4050-78045/

Just a heads up in case it points to a larger issue.

EDIT:

It may have something to do with "Mighty Avengers." The following also had problems and could not be found unless I put in the volume id:

The Mighty Avengers: Earth's Mightiest
comicvine.gamespot.com/the-mighty-avenge...ightiest/4050-30729/

Mighty Avengers: Secret Invasion, Book One
comicvine.gamespot.com/mighty-avengers-s...book-one/4050-27752/
Last Edit: 3 months 2 weeks ago by Targg.
The administrator has disabled public write access.

Comic Vine Scraper Patch [Not Official] 3 months 2 weeks ago #49146

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 576
  • Thank you received: 142
  • Karma: 29
The patch is currently working horrible since the last API update today... I will try to do a new one from 0 when I have some time, but given the currently limits don't expect the same results D:

It will work, at best, like it used to work before all these api changes...

Btw, if you want the original script work ok with the new API, just replace the " AND " with " " in the .py that make the query. That is the only difference between the OLD OLD API and the new one (which causes the "-" problem) I have found so far. (Before the AND functioned as a logical +, now it is just a word that the API ignores, but breaks the "-" ignore algorithm of the API)
Last Edit: 3 months 2 weeks ago by Xelloss.
The administrator has disabled public write access.
Time to create page: 0.185 seconds

Who's Online

We have 196 guests and 3 members online