This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"io/ioutil" | |
"net/http" | |
"strconv" | |
"sync" | |
) | |
var wg sync.WaitGroup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
while (1) { | |
`wget --no-proxy --quiet http://static.cricinfo.com/rss/livescores.xml -O score.txt`; | |
sleep(10); # Set to seconds | |
my $text = `cat score.txt`; | |
$text =~ m!<title>(.*India.*)</title>!; |
NewerOlder