File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- from fundus .publishers .base_objects import PublisherGroup , Publisher
1+ from fundus .publishers .base_objects import Publisher , PublisherGroup
22from fundus .scraping .url import NewsMap , RSSFeed , Sitemap
33
44from .expressen import ExpressenParser
55
6+
67class SE (metaclass = PublisherGroup ):
78 default_language = "sv"
89
@@ -16,4 +17,4 @@ class SE(metaclass=PublisherGroup):
1617 RSSFeed ("https://feeds.expressen.se/noje/" ),
1718 Sitemap ("https://www.expressen.se/sitemap.xml" ),
1819 ],
19- )
20+ )
Original file line number Diff line number Diff line change 1010 extract_article_body_with_selector ,
1111 generic_author_parsing ,
1212 generic_date_parsing ,
13- image_extraction ,
1413 generic_topic_parsing ,
14+ image_extraction ,
1515)
1616
1717
@@ -51,4 +51,4 @@ def images(self) -> List[Image]:
5151
5252 @attribute
5353 def topics (self ) -> List [str ]:
54- return generic_topic_parsing (self .precomputed .ld .bf_search ("articleSection" ))
54+ return generic_topic_parsing (self .precomputed .ld .bf_search ("articleSection" ))
You can’t perform that action at this time.
0 commit comments