rt_get_useragent function

extracting HTTP useragents from robots.txt