Improving scraping rule