Skip to content

magicaljellybeans/component-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI Syntax: python component_scraper.py <csv file> <component class name>

Script to compare

component heading sizes to previous "structural" headings in the DOM. Outputs a csv file in the current working directory.

Input file is a text file with a URL path on each line. Output CSV has a column of URLs and titles of component headings that triggered the condition.

Previous "structural" headings are defined as children of a

tag or tag with class "block-richtext", that occur sequentially prior to the given component heading tag.

Current condition is a component heading being larger than the previous "structural" heading.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages