How to Remove link from scraped tweets

Blackwindow

Regular Member
Joined
Apr 11, 2014
Messages
228
Reaction score
31
I scraped 100k tweets but they all tweet have links. how to delete this links and add my links? All links different.
 
If you have them in a text or csv file, open it in Notepad++, record a macro search for "http:", selecting until end of line and delete and run that macro script until finishing file.

To add your links, it's better to open csv file in excel, paste your links in a new column and regenerate csv file. It looks like complicated, but after doing it once, you'll get to do it how many times you need.
 
You can do it in a regex in notepad++.

The latest version of Twitterdub (disclaimer: my program, link in sig) has a function to remove links from scraped tweets, it can also replace the link with a link from a provided text file.
 
Back
Top