Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forbidden & Limited Lists #8

Closed
kevinlul opened this issue Aug 31, 2022 · 22 comments
Closed

Forbidden & Limited Lists #8

kevinlul opened this issue Aug 31, 2022 · 22 comments

Comments

@kevinlul
Copy link
Contributor Author

In isolation, Limit Regulations cannot define a format. These need to be combined with the contemporary card pool to actually reconstruct a format, which requires release date information via DawnbrandBots/yaml-yugipedia#2

@kevinlul
Copy link
Contributor Author

kevinlul commented Sep 3, 2022

Added OCG Japan link, thanks @larry126

kevinlul added a commit that referenced this issue Sep 4, 2022
kevinlul added a commit that referenced this issue Sep 5, 2022
kevinlul added a commit that referenced this issue Sep 5, 2022
@kevinlul
Copy link
Contributor Author

kevinlul commented Sep 5, 2022

TCG cards not legal in Europe 🙃 https://img.yugioh-card.com/uk/gameplay/detail.php?id=426

@kevinlul
Copy link
Contributor Author

kevinlul commented Sep 5, 2022

Regional Forbidden & Limited List pages: https://www.yugioh-card.com/hk/event/rules_guides/forbidden_cardlist.php

kevinlul added a commit that referenced this issue Sep 5, 2022
@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 3, 2023

Per DawnbrandBots/bastion-bot#324, the UK site is now dead, leaving just the US site at https://www.yugioh-card.com/en/limited/, which means a new way to parse the lists is necessary. Furthermore, the above link for TCG cards not legal in Europe is now dead, instead, seek https://www.yugioh-card.com/eu/play/card-legality/

@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 3, 2023

Alternate version of the TCG list on the LATAM site: https://www.yugioh-card.com/lat-am/limited/index.html

@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 3, 2023

@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 3, 2023

Beautiful, the EU site has JSON served from the server, so we no longer need to parse the page body. This contains the database ID too! https://www.yugioh-card.com/eu/_data/fllists/current.json

@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 3, 2023

Selecting a list prior to current queries https://www.yugioh-card.com/eu/_data/fllists/61.json. The index number and date of the list is found in https://www.yugioh-card.com/eu/_data/fllists/options.json.

@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 3, 2023

Note: the website continues to report the May 17, 2022 list as effective on May 23.

@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 3, 2023

Barring any website restructures by Konami again, we won't have to manually update the pointer for TCG Forbidden & Limited Lists now! It should automatically roll over on the effective date.

EDIT: success ee06d6e

@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 4, 2023

OCG lists can be obtained in structured format at URLs of the form https://www.yugioh-card.com/hk/data/forbidden_card_lists/202204.csv

lol

image

@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 4, 2023

Rush Duel has limit regulations from 2023 onward. These can be found at

@kevinlul
Copy link
Contributor Author

kevinlul commented Jun 4, 2023

Interesting cardview page for Rush Duel of note: https://www.konami.com/yugioh/rushduel/products/cardview.php?c=orp1-jp034

@kevinlul
Copy link
Contributor Author

OCG July 1 has been announced but not reflected on those pages yet https://yu-gi-oh.jp/news_detail.php?page=details&id=1653

@kevinlul
Copy link
Contributor Author

Reflected on pages a day later

@kevinlul
Copy link
Contributor Author

Linkross was hit in 2020/04, before it was released in English the following month. Its English name is on the page.

Wisdom-Eye Magician was hit in 2015/10, and its English name is not on the page. It was released in English two months later.

Therefore, converting this list to IDs must rely on the Japanese card names.

@kevinlul
Copy link
Contributor Author

kevinlul commented Jul 2, 2023

Full automation has been achieved for OCG, TCG, and Rush Duel. Remaining items:

  • create a new yaml-yugi-limit-regulation repository to house most of this work, with a README like the initial issue comment
  • transform Yugipedia Master Duel lists to vector JSONs
  • transform Yugipedia Duel Links lists to vector JSONs
  • potentially provide password-based lflists
  • generating full historical card pools based on date per the second issue comment

kevinlul added a commit that referenced this issue Sep 27, 2023
kevinlul added a commit to DawnbrandBots/yaml-yugi-limit-regulation that referenced this issue Nov 10, 2023
@kevinlul
Copy link
Contributor Author

@kevinlul
Copy link
Contributor Author

Yugipedia Duel Links lists are incomplete due to outage and not usable

@kevinlul
Copy link
Contributor Author

Closing in favour of new repository, e.g. DawnbrandBots/yaml-yugi-limit-regulation#8

@kevinlul
Copy link
Contributor Author

c2e3aee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant