'How would I approach to Web scrape across multiple websites to find multiple social media links?

I am planning to use Javascript. It's going to be multiple web pages so I cannot web scrape with a predefined script.

I would need to specifically search just for the social media links of every web page I input.

How would I approach this?



Solution 1:[1]

Maybe write a code to scrape the html file and go through every line to find lines with the domain names of social media websites you are looking for and save it in a file. I did something similar in python but i don't know much about javascript as i just started.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 needhelpmannnn