Hive UDF and a script to download the pagecount data feed