Closed alexander-novo closed 1 month ago
Figured out how to access back images in the scryfall api. We need to set the face
parameter to back
:
https://api.scryfall.com/cards/sld/1081/?face=back&format=image
The language issue looks like it's a more recent change to Scryfall's API. If an English version of a card doesn't exist, then scryfall won't return it even if we don't specify a language. For instance:
https://api.scryfall.com/cards/neo/292/?format=image
works because it's English, but:
https://api.scryfall.com/cards/neo/293/?format=image
doesn't because the card is in Japanese, even though the language isn't specified. This needs to be:
Scryfall fixed api and non-english images works again (except phyrexian from #11537).
Example: https://api.scryfall.com/cards/neo/293/?format=image
As mentioned in the other thread, if you remove the trailing / the phyrexian cards work Example: https://api.scryfall.com/cards/one/414/?format=image fails https://api.scryfall.com/cards/one/414?format=image succeeds
Baseball SLD have an erroneous b: 1453 Ajani Goldmane , 1454 Jace Beleren , 1455 Liliana Vess , 1456 Chandra Nalaar , Example: client tried to download https://api.scryfall.com/cards/sld/1457b/en?format=image but the b doesn't belong. Needs to access https://api.scryfall.com/cards/sld/1457/en?format=image instead
A bunch of calls for MB1 are failing. The set doesn't exist on scryfall, but it all the cards searched are on The List: Stave Off not https://api.scryfall.com/cards/mb1/246/en?format=image but https://api.scryfall.com/cards/plst/DDN-61/en?format=image Steadfast Sentinel not https://api.scryfall.com/cards/mb1/247/en?format=image but https://api.scryfall.com/cards/plst/HOU-24/en?format=image Steady Progress not https://api.scryfall.com/cards/mb1/504/en?format=image but https://api.scryfall.com/cards/plst/MM2-58/en?format=image Steamflogger Boss not https://api.scryfall.com/cards/mb1/1069/en?format=image but https://api.scryfall.com/cards/plst/UST-93/en?format=image Stinkweed Imp not https://api.scryfall.com/cards/mb1/782/en?format=image but https://api.scryfall.com/cards/plst/GK1-53/en?format=image Stitched Drake not https://api.scryfall.com/cards/mb1/505/en?format=image but https://api.scryfall.com/cards/plst/DDQ-49/en?format=image Stoic Builder not https://api.scryfall.com/cards/mb1/1342/en?format=image but https://api.scryfall.com/cards/plst/SOI-231/en?format=image Stone Haven Medic not https://api.scryfall.com/cards/mb1/248/en?format=image but https://api.scryfall.com/cards/plst/BFZ-51/en?format=image Storm Sculptor not https://api.scryfall.com/cards/mb1/506/en?format=image but https://api.scryfall.com/cards/plst/XLN-85/en?format=image Stormblood Berserker not https://api.scryfall.com/cards/mb1/1070/en?format=image but https://api.scryfall.com/cards/plst/E01-58/en?format=image Stormchaser Chimera not https://api.scryfall.com/cards/mb1/1490/en?format=image but https://api.scryfall.com/cards/plst/CN2-207/en?format=image Strategic Planning not https://api.scryfall.com/cards/mb1/507/en?format=image but https://api.scryfall.com/cards/plst/HOU-47/en?format=image Street Wraith not https://api.scryfall.com/cards/mb1/783/en?format=image but https://api.scryfall.com/cards/plst/A25-108/en?format=image Stream of Thought not https://api.scryfall.com/cards/mb1/508/en?format=image but https://api.scryfall.com/cards/plst/MH1-71/en?format=image Strength in Numbers not https://api.scryfall.com/cards/mb1/1343/en?format=image but https://api.scryfall.com/cards/plst/MM3-138/en?format=image Stunt Double not https://api.scryfall.com/cards/mb1/509/en?format=image but https://api.scryfall.com/cards/plst/CN2-38/en?format=image Stromkirk Patrol not https://api.scryfall.com/cards/mb1/784/en?format=image but https://api.scryfall.com/cards/plst/CN2-149/en?format=image and more
more list cards searching for FMB1 (I am guessing that means foil) FMB1 - Zur's Weirding, http code: 404, url: https://api.scryfall.com/cards/fmb1/32/en?format=image needs to be https://api.scryfall.com/cards/plst/8ED-116/en?format=image FMB1 - Yore-Tiller Nephilim, http code: 404, url: https://api.scryfall.com/cards/fmb1/92/?format=image needs to be https://api.scryfall.com/cards/plst/GPT-140/en?format=image
stars need to be encoded PROE - Pestilence Demon, http code: 404, url: https://api.scryfall.com/cards/proe/124*/en?format=image needs to be https://api.scryfall.com/cards/proe/124%E2%98%85?format=image PDKA - Gravecrawler, http code: 404, url: https://api.scryfall.com/cards/pdka/64*/en?format=image needs to be https://api.scryfall.com/cards/pdka/64%E2%98%85/en?format=image PL21 - Sethron, Hurloon General, http code: 404, url: https://api.scryfall.com/cards/pl21/1*/en?format=image needs to be https://api.scryfall.com/cards/pl21/1%E2%98%85/en?format=image PBNG - Fated Conflagration, http code: 404, url: https://api.scryfall.com/cards/pbng/94*/en?format=image needs to be https://api.scryfall.com/cards/pbng/94%E2%98%85/en?format=image SLD - Shattergang Brothers, http code: 404, url: https://api.scryfall.com/cards/sld/1315*/en?format=image needs to be https://api.scryfall.com/cards/sld/1315%E2%98%85/en?format=image PRTR - Supreme Verdict, http code: 404, url: https://api.scryfall.com/cards/prtr/201*/en?format=image needs to be https://api.scryfall.com/cards/prtr/201%E2%98%85/en?format=image
phi needs to be encoded (several more than the following examples) SLD - Virulent Sliver, http code: 404, url: https://api.scryfall.com/cards/sld/659Ph/en?format=image needs to be https://api.scryfall.com/cards/sld/659%CE%A6/en?format=image SLD - Toxin Sliver, http code: 404, url: https://api.scryfall.com/cards/sld/635Ph/en?format=image needs to be https://api.scryfall.com/cards/sld/635%CE%A6/en?format=image
SLD card number is character only SLD - Viscera Seer, http code: 404, url: https://api.scryfall.com/cards/sld/99999VS/en?format=image needs to be https://api.scryfall.com/cards/sld/VS/en?format=image
Token Failures DDD - Beast, http code: 404, url: https://api.scryfall.com/cards/tddd/1/en?format=image needs to be https://api.scryfall.com/cards/tddd/T1/en?format=image and https://api.scryfall.com/cards/tddd/T2/en?format=image DDD - Elephant, http code: 404, url: https://api.scryfall.com/cards/tddd/3/en?format=image needs to be https://api.scryfall.com/cards/tddd/T3/en?format=image
An example of a trailing slash causing a language fail POR - Horned Turtle, http code: 404, url: https://api.scryfall.com/cards/por/57s/?format=image needs to be https://api.scryfall.com/cards/por/57s?format=image
Something messed up with encoding these stars WAR - Karn, the Great Creator, http code: 404, url: https://api.scryfall.com/cards/war/1★/?format=image sorry, can't find a fix for this one WAR - Jiang Yanggu, Wildcrafter, http code: 404, url: https://api.scryfall.com/cards/war/164★/en?format=image same wierdness WAR - Gideon Blackblade, http code: 404, url: https://api.scryfall.com/cards/war/13★?format=image same wierdness
Incorrect set XANA - Shorecomber Crab, http code: 404, url: https://api.scryfall.com/cards/xana/20/en?format=image only found as https://api.scryfall.com/cards/anb/32a/en?format=image
=================================
So other than the star cards from WAR, hopefully the above changes will fix download issues.
Current log of download fails. Over the last few days, Ive been downloading all images (from scryfall) to a new directory (for test purposes). And this is the log generated now that it no longer finds any images to download.
Checked through Cardviewer.
PLG21 (valid scryfall set) shows no card images, but it didn't come up in the fail warnings. Is it possible that these cards were somehow left off the download list?
ScryfallImageSource
contains all supported sets. So PLG21
must be added to it to enable download.
Baseball SLD have an erroneous b: 1453 Ajani Goldmane , 1454 Jace Beleren , 1455 Liliana Vess , 1456 Chandra Nalaar , Example: client tried to download https://api.scryfall.com/cards/sld/1457b/en?format=image but the b doesn't belong. Needs to access https://api.scryfall.com/cards/sld/1457/en?format=image instead
It's trying to download the back side. This is the same issue as I described above.
Outdated
Some cards are failing to download:
https://api.scryfall.com/cards/sld/379*/en?format=image
https://api.scryfall.com/cards/sld/379★/en?format=image
https://api.scryfall.com/cards/one/328/en?format=image
https://api.scryfall.com/cards/one/328/ph?format=image
https://api.scryfall.com/cards/cmm/220/en
https://api.scryfall.com/cards/cmm/220/en?format=image
The * vs ★ character has come up before, and continues to come up as a problem. This should be looked for in a verify test.