Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Feng-Gao committed Apr 16, 2019
1 parent f025df3 commit 3a10ff1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scraper.py
Expand Up @@ -8,6 +8,11 @@
import scraperwiki
from bs4 import BeautifulSoup

import sys

reload(sys)
sys.setdefaultencoding('utf8')


#taipei provides an api to fetch all metadata
base_url = 'https://data.taipei/opendata/datalist/apiAccess?scope=datasetMetadataSearch&limit=%d&offset=%d'
Expand Down

0 comments on commit 3a10ff1

Please sign in to comment.