ISSUE: Hi guys, I'm trying to scrape available shoes sizes in Adidas' website. I was able to get the long json input that was used by Javascripts' JSON.parse method, which likely contains the data I need, but I'm having trouble converting this long string into the Python dictionary.
WHAT I DID SO FAR: I'm playing with this string in notepad++ to see if removing all escapes, removing inch sign, etc, but when trying to do the pretty-print, it would throw an error like the first image. (it's just part of it..) Looks like there are instances where they used double quotation when they should've used an actual 'inch' sign. Currently working on this for last three hours and i'm seeking for help. Thanks.
#๐ Json objectification(?) issue
8 messages ยท Page 1 of 1 (latest)
@drifting palm
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
source code - https://paste.pythondiscord.com/ARVQ
The string is located after JSON.parse function at the bottom line.
!rule tos
I'm trying to scrape available shoes sizes in Adidas' website
sorry, we can't help with this
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
!close
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.