Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML
3.66k
stars
262
forks
source link
`bare_extraction()`: deprecate `as_dict` parameter #729
Closed
adbar closed 3 weeks ago
The
Document
class exposes a.as_dict()
method to return its elements as a Python dict instead of class attributes.The
as_dict
parameter inbare_extraction()
can be deprecated by first adding a deprecation warning.