I am using Python 3.4 and I'm trying to scrape the underlying data from the below link and dump into a .csv
file.
I am currently using BeautifulSoup
and the first few lines in my script look as below:
import urllib
from urllib.request import urlopen
from bs4 import BeautifulSoup
htmlfile=urlopen("https://secure.moneygram.com/estimate")
soup=BeautifulSoup(htmlfile)
print (soup.prettify()[0:1000])
Can anybody provide me some help?
Thanks