Welcome, Guest
Python Scripts for ComicRack

TOPIC: Comic Vine Scraper Patch [Not Official]

Comic Vine Scraper Patch [Not Official] 11 months 1 week ago #49139

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 607
  • Thank you received: 167
  • Karma: 34
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] 11 months 1 week ago #49140

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 607
  • Thank you received: 167
  • Karma: 34
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: 11 months 1 week ago by Xelloss.
The administrator has disabled public write access.
The following user(s) said Thank You: Targg

Comic Vine Scraper Patch [Not Official] 11 months 1 week ago #49144

  • boshuda
  • boshuda's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 335
  • Thank you received: 86
  • 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] 11 months 1 week ago #49145

  • Targg
  • Targg's Avatar
  • Offline
  • Senior Boarder
  • Posts: 55
  • Thank you received: 11
  • Karma: 5
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: 11 months 1 week ago by Targg.
The administrator has disabled public write access.

Comic Vine Scraper Patch [Not Official] 11 months 1 week ago #49146

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 607
  • Thank you received: 167
  • Karma: 34
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: 11 months 1 week ago by Xelloss.
The administrator has disabled public write access.

Comic Vine Scraper Patch [Not Official] 1 week 6 days ago #62472

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 607
  • Thank you received: 167
  • Karma: 34
New patched file for the new API changes... this patch is for the last version of the script, install that one and replace this file:

File Attachment:

File Name: cvdb-2-3-4...-8-9.zip
File Size:9 KB


Any feedback is welcomed, I need as much feedback as possible to improve the results filters
Last Edit: 1 week 6 days ago by Xelloss.
The administrator has disabled public write access.
The following user(s) said Thank You: ghoti

Comic Vine Scraper Patch [Not Official] 1 week 6 days ago #62473

  • nianox
  • nianox's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Is this compatible with cbanack's new version of the CVDB plugin released today?
The administrator has disabled public write access.

Comic Vine Scraper Patch [Not Official] 1 week 5 days ago #62474

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 607
  • Thank you received: 167
  • Karma: 34
it is ONLY compatible with that version indeed

I used that version to modified the code... so yes, and it MUST be installed before applying this "patch"

btw, if you use the new limiter for results in advance options, I recommend to set it at 1000 instead of 100 (by default I changed it to 1000), unless you want to limit the MAX number of results downloaded (remember the patch put a limit by itself, so most of the time t shouldn't reach that limit, but if you put it at 100 it will never download more than 100)
Last Edit: 1 week 5 days ago by Xelloss.
The administrator has disabled public write access.
The following user(s) said Thank You: Yhoogi, ghoti
Time to create page: 0.232 seconds

Who's Online

We have 200 guests and no members online