-
Notifications
You must be signed in to change notification settings - Fork 3
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
Languages #1
Comments
Hey!
First off, thanks so much for the support, I appreciate it :)
Secondly, this is a great question, and you are on the right track. I
saw your email last week but my hands have been tied up with some other
things and did not get a chance to respond.
I have taken a look to see how this is possible and I have made some
modifications that I have not yet pushed but I'll push it onto a second
experimental branch tonight. To give you some context, if you have taken
a look at the code, I am scraping two websites for all the card
information. The modifications I have made gather the card information
in french, but not the additional information from the secondary website
because it does not seem to have that information in french. So the fix
I can send you is simply for the card information, but I haven't
extensively tested it so there may be some bugs.
I'll send you more information later on tonight when I push the code!
…On 2/28/2023 5:12 PM, blal1 wrote:
Hi
When I have added this parameter request_locale=fr to download the
french cards I got only the packs names in french but the cards still
in English. How can I got them in french? Thanks
—
Reply to this email directly, view it on GitHub
<#1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG5A6EZD77WPOZMRI6EZNZDWZZZ5NANCNFSM6AAAAAAVLJEKY4>.
You are receiving this because you are subscribed to this
thread.Message ID:
***@***.***>
|
New branch has been created called experimental-language. Checkout this branch and call the script as instructed in the readme.md file. Use the parameter "--language fr". I'm still running tests, and working out some of the code - though give it a try, and if you run into any issues list them here and I'll tackle them. |
Hi, https://yugioh.fandom.com/fr/wiki/Wiki_Yu-Gi-Oh! |
No problem, I also speak french so you can send me emails in french if it makes it easier. I pushed some more changes this morning as I noticed the script was crashing on card sets that were not fully released just yet (Maze of Memories - march 10th release), so if you run into that issue, pull from the branch. Also, I've been playing around with the languages on fandom and noticed that they dont have multilingual card pages (e.g. https://yugioh.fandom.com/wiki/Flame_Manipulator -> https://yugioh.fandom.com/fr/wiki/Flame_Manipulator - this doesn't work). So there is still work to be done on this and will only be available in english for now. |
Hello, C:\Users\Eleve>Python C:\yugioh_cardlist_scraper-experimental-language\yugioh_cardlist_scraper-experimental-language\main.py --language fr |
Hello! Packs Processed |█████████▏⚠︎ | (!) 144/634 [23%] in 2:25.8 (0.99/s) Thanks, |
Try pulling the latest changes, it should resolve that issue! It had to do with a feature that I tried to implement to catch certain Japanese edge cases - though when it encounters a card that is simply "7", it fails to find enough features to detect what language it is. |
Hi, I want to download Chinese version cards, but it seems not supported for now. |
Hi
When I have added this parameter request_locale=fr to download the french cards I got only the packs names in french but the cards still in English. How can I got them in french? Thanks
The text was updated successfully, but these errors were encountered: