masterscraper/scrape_single.py

11 lines
187 B
Python

#!/usr/bin/python3
import masterscraper as ms
scrape = ms.scrape('https://www.macrotrends.net/countries/SGP/singapore/gdp-per-capita')
scrape.get_meta()
scrape.clean()
scrape.save()