/python-beautifulsoup-webscrape

Performs "Web Scraping" on sample html file, using "Beautiful Soup".

Primary LanguagePythonMIT LicenseMIT

PROGRAM: Perform BeautifulSoup parsing on sample html file. This Python script uses Beautiful Soup to 'scrape' the HTML of a ficticious restaurant, and outputs a JSON script. On success, this program creates the specified output file. On failure, the error is indicated and instructions are printed.

SYNTAX: python bsoup.py input.html [outputfile.json]

If no outputfile is specified, the file output.json will be created and used.