Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
addie9800 committed Jan 13, 2025
1 parent 9f8608d commit feee3e9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/fundus/publishers/es/la_vanguardia.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,18 @@
extract_article_body_with_selector,
generic_author_parsing,
generic_date_parsing,
generic_nodes_to_text,
generic_topic_parsing,
image_extraction,
)


class LaVanguardiaParser(ParserProxy):
class V1(BaseParser):
_paragraph_selector = XPath(
"//div[@class='article-modules']//p[@class='paragraph']|"
"//div[@class='article-modules']//p[@class='paragraph'] | "
"//div[@class='widget' and not(@id)]//p[not(@class='creditos')]"
)
_subheadline_selector = XPath(
"//div[@class='article-modules']//h3[@class='subtitle']|"
"//div[@class='article-modules']//h3[@class='subtitle'] | "
"//div[@class='widget' and not(@id)]//h2|//span[@class='ubicacion']"
)
_summary_selector = XPath("//h2[@class='epigraph']|//div[@id='slide-content-1']/p")
Expand Down

0 comments on commit feee3e9

Please sign in to comment.