Skip to content

An html parser which parses an html file and outputs data in JSON format.

Notifications You must be signed in to change notification settings

Khusbu/html-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML parser

Parser for parsing court cases html files. It either takes a directory path or a file path as input and prints all the data parsed in structured format i.e. json. In case of a directory path, it loops over all the files present in that directory and outputs data from each file whereas in case of a file path it outputs data of the input file only.

Input format

Refer to file sample.html as sample input

Output format

Outputs parsed data in JSON format.

Dependencies

Usage

python html_parser.py [directory_path|file_path]

For example,

python html_parser.py sample.html

About

An html parser which parses an html file and outputs data in JSON format.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published