mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
edopro: Switch to projectignis for card image downloads
It was pointed out to me that the ygoprodeck owner is not a fan of sims using their hosted images, especially not in an automated manner.
This commit is contained in:
parent
e1e2f77161
commit
7c21bc7b9d
1 changed files with 4 additions and 5 deletions
|
@ -37,11 +37,10 @@
|
||||||
zenity,
|
zenity,
|
||||||
covers_url ? "https://pics.projectignis.org:2096/pics/cover/{}.jpg",
|
covers_url ? "https://pics.projectignis.org:2096/pics/cover/{}.jpg",
|
||||||
fields_url ? "https://pics.projectignis.org:2096/pics/field/{}.png",
|
fields_url ? "https://pics.projectignis.org:2096/pics/field/{}.png",
|
||||||
# While ygoprodeck has higher quality images, "spamming" of their api results in a ban.
|
# While ygoprodeck has higher quality images:
|
||||||
# Thats why this link can change since it's compiled into the program, However it will
|
# 1. automated downloads for sims via their API are discouraged by the owner
|
||||||
# download assets when needed so it is unlikely to get banned. Unless you search the
|
# 2. images for prerelease cards are unavailable on their service
|
||||||
# card list with no filters of any kind. When testing use ProjectIgnis' website instead.
|
pics_url ? "https://pics.projectignis.org:2096/pics/{}.jpg",
|
||||||
pics_url ? "https://images.ygoprodeck.com/images/cards/{}.jpg",
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
archLabel =
|
archLabel =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue