fundus icon indicating copy to clipboard operation
fundus copied to clipboard

Add `parse` method to `ParserProxy`

Open MaxDall opened this issue 1 year ago • 0 comments

The purpose of this PR is to unify the versioning mechanics of ParserProxy and the BaseParser in a new interface called parse within ParserProxy.


#prev
extraction = parser(crawl_date).parse(html, ...)

#now
extraction = parser.parse(html, crawl_date, ...)

This change is primarily a preparation for an upcoming feature that will enable contributors to deprecate individual attributes.

Update: Maybe that's not really necessary

MaxDall avatar Aug 05 '24 15:08 MaxDall