Created
April 6, 2018 18:15
-
-
Save lathropd/1b39dfeb4b7998a3d62ffc1086e73f19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mainUrl = 'https://www.dhs.gov/immigration-statistics/yearbook/2016/table2'; var userAgent = 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36'; | |
rp({url: mainUrl, headers:{'User-Agent': userAgent } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment