Welcome, Guest
Python Scripts for ComicRack

TOPIC: Suggestions for the a ComicVine script

Re:Add one more publisher 7 years 10 months ago #5013

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1114
  • Thank you received: 64
  • Karma: 51
matrixik wrote:
Add
"Image":"Image Comics"
to publishers.py

I think this is very personal (I like it your way, though). Note that publishers.py can be edited by the end user, in any case. At some point I might add an option to edit it from within the script!
The administrator has disabled public write access.

Re:File encoding 7 years 10 months ago #5014

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1114
  • Thank you received: 64
  • Karma: 51
matrixik wrote:
Use UTF-8 encoding instead of latin-1.

You get xml UTF-8 encoded.
api.comicvine.com/documentation/#delivery_formats

Hey, thanks for the reference. As you probably have guessed I am not very good at text encodings... I will study what cbanck added and see how to improve with this suggestion. Thanks
The administrator has disabled public write access.

Re:Add one more publisher 7 years 10 months ago #5015

  • matrixik
  • matrixik's Avatar
  • Offline
  • Junior Boarder
  • Posts: 29
  • Karma: 1
perezmu wrote:
I think this is very personal (I like it your way, though). Note that publishers.py can be edited by the end user, in any case. At some point I might add an option to edit it from within the script!

Personal? Check your own imprints.py file, you change all imprints to "Image Comics".

And one more:
Add
"top cow":"Image Comics"
to imprints.py
I am what I am.
The administrator has disabled public write access.

Re:Add one more publisher 7 years 10 months ago #5016

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1114
  • Thank you received: 64
  • Karma: 51
matrixik wrote:
Personal? Check your own imprints.py file, you change all imprints to "Image Comics".

And that would be a big bad bug! :blush:
The administrator has disabled public write access.

Re:Add one more publisher 7 years 10 months ago #5017

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1114
  • Thank you received: 64
  • Karma: 51
matrixik wrote:
"top cow":"Image Comics"
to imprints.py[/quote]

Yep, this one will also be in... Thanks. You know, too much time coding the script and too little using it...
The administrator has disabled public write access.

Re:Add one more publisher 7 years 10 months ago #5018

  • matrixik
  • matrixik's Avatar
  • Offline
  • Junior Boarder
  • Posts: 29
  • Karma: 1
perezmu wrote:
matrixik wrote:
Personal? Check your own imprints.py file, you change all imprints to "Image Comics".

And that would be a big bad bug! :blush:
I wrong write it (it's not bug).
You change Image imprints to "Image Comics" not to "Image".
I am what I am.
Last Edit: 7 years 10 months ago by matrixik.
The administrator has disabled public write access.

Re:Suggestions for the a ComicVine script 7 years 10 months ago #5019

  • matrixik
  • matrixik's Avatar
  • Offline
  • Junior Boarder
  • Posts: 29
  • Karma: 1
perezmu wrote:
(also, who knows, time coming the people at comicbookdb might change their mind and allow data scraping, so this would allow good merging between both sources....)
Personally I would prefer Grand Comics Database (comics.org).
They have 2x-3x bigger database and probably someday they will have API (link)
I am what I am.
The administrator has disabled public write access.

Re:Suggestions for the a ComicVine script 7 years 10 months ago #5034

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1114
  • Thank you received: 64
  • Karma: 51
matrixik wrote:
perezmu wrote:
(also, who knows, time coming the people at comicbookdb might change their mind and allow data scraping, so this would allow good merging between both sources....)
Personally I would prefer Grand Comics Database (comics.org).
They have 2x-3x bigger database and probably someday they will have API (link)

Great! They seem be active again. I had not checked in a while, since for a long period the site seemed dead to me!
The administrator has disabled public write access.

Re:Suggestions for the a ComicVine script 7 years 10 months ago #5045

Ooh, I've got a good one! :)

One thing I worry about is the fact that we're pulling record names and not IDs. If they change the names under our feet, it would screw up our whole notion of keeping track of things like characters and creators. What I would suggest is an option to discretely extract the ID along with the name in a format like 'Name [ID]'. That way I can parse the ID out for use in my SQL server db.
The administrator has disabled public write access.

Re:Suggestions for the a ComicVine script 7 years 10 months ago #5049

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1114
  • Thank you received: 64
  • Karma: 51
DouglasBubbletrousers wrote:
Ooh, I've got a good one! :)

One thing I worry about is the fact that we're pulling record names and not IDs. If they change the names under our feet, it would screw up our whole notion of keeping track of things like characters and creators. What I would suggest is an option to discretely extract the ID along with the name in a format like 'Name [ID]'. That way I can parse the ID out for use in my SQL server db.

I am not sure I understand you. For each issue their corresponding ID is saved to the notes field. You mean saving also the ID for the series?
The administrator has disabled public write access.
Time to create page: 0.392 seconds

Who's Online

We have 211 guests and one member online