Web scrapping with javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Web scrapping with javascript

Hey friends I wanna know how can we get the suitable data from the bulk of string. Means like we do in python: we scrap the code of website and get valuable info by certain methods like .find and .find_all with the help of element I'd and classes. Example: https://code.sololearn.com/c44RPrm1Erjd/?ref=app So I wanna do this in javascript. I tried it with regular expression but it is bit confusing for me. So is there other better way to do so ?

7th Feb 2021, 2:22 AM
Ayush Kumar
Ayush Kumar - avatar
2 Answers
7th Feb 2021, 7:15 AM
R💠🇮🇳
R💠🇮🇳 - avatar
+ 2
Thanks 🇮🇳 R di yes it will help me lot And thanks to you ‎   ‎ ‎  also .
7th Feb 2021, 8:18 AM
Ayush Kumar
Ayush Kumar - avatar