code now works for sending scrape requests.