i'm trying to scrape a js script of a website. It seems too confused, can't find dictionaries or lists. What i tried to do is using requests (see example below).
lets say you want to find key:"storeRid" in an apple js file 'https://ift.tt/MCn1zBW' (find it by using finder of the browser, you will see its dictionary-like)
how do I find that word, "storeRid" in this case, by looking for key, as an example. Thanks
for items in jspage:
if 'key' in items :
print(items)
i was thinking about something as easy as this. or just as dictionaries jspage['key']. No idea..
Via Active questions tagged javascript - Stack Overflow https://ift.tt/dWYMstC
Comments
Post a Comment