[QUESTION] how to remove the link from scraping texts

marceeluus99

Newbie
Joined
Mar 19, 2021
Messages
18
Reaction score
4
Hello guys! I'm trying to scrap a web page but when I end, the text is scraped with the links of the images, and I don't want that. Do you know any way to avoid that or some way to clean and "purify" the text after the scrape it's done?
(I'm using web scraper extension from google chrome)

Thanks! :p
 
Hire soomeone who can use selenium and get the job done for you.
 
Try to remove the urls using Notepad++ and regex: https://superuser.com/questions/884539/replace-urls-in-notepad. You can follow this with the difference, that you should replace the urls with nothing.
And if I want to clean the interval of a text, imagine you have "hello my name is Marcel and I want to clean this text", and I want to take out from "my name" till "this text" without putting the whole sentence, is that possible?
 
Learn what is regex and paste your scraped texts to a code editor like Visual Studio
Thanks to all of you guys, I could solve my problems. I've learned about regex and I think it's a beautiful and useful tool.
 
Back
Top