Converted to python and intial scraping working