tomcarbon / python-beautifulsoup-webscrape

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:Python 52.4%Language:HTML 47.6%