I was wondering if anyone knows the code to scrape the usernames of of Twitter search. Any help would be appreicated, thanks![]()
<span>(.*?)</span>
you can achieve that with any language...@xenon2010 :/ Thanks now I just gotta learn how to download the page, and regex :/
http://search.twitter.com/search.atom?q=love
<uri>http://twitter.com/IamRainey89</uri>
(?<=<uri>http://twitter.com/).*?(?=</uri>)
using System.Text.RegularExpressions;
Regex userRegex = new Regex("(?<=<uri>http://twitter.com/).*?(?=</uri>)");
foreach(Match item in userRegex.Matches(sourceCodeStringHere))
{
String matchedText = item.Value;
//Your code here
}