Good afternoon please is it possible 2 Web scrape and display in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Good afternoon please is it possible 2 Web scrape and display in HTML

I wanted to know if it's possible to get a data from a site with web scraping and display it on your own site

17th May 2021, 12:07 PM
Benjamin
Benjamin - avatar
2 Answers
+ 1
It's totally possible to scrap other websites content and display it in yours. First you need a module to target the website you want to get content from, the request module does that for you. Second you need to figure out which parts of the content are you interested in, BeautifulSoup is a python module that you use to get only the necessary information you need to show in your page. If you've used the Javascript DOM its has a similar functionality. Nb: Some websites don't allow there content to be pulled.
17th May 2021, 12:27 PM
Alpha Diallo
Alpha Diallo - avatar
0
Ok thanks
17th May 2021, 12:31 PM
Benjamin
Benjamin - avatar