ExamplesΒΆ
Soupstars includes various examples that you can reference or use directly.
NYTimesΒΆ
Extract article links and article metadata from nytimes.com
-
class
soupstars.examples.nytimes.
NytimesArticleParser
(url)[source]ΒΆ Parse attributes from a NY times article.
>>> from soupstars.examples.nytimes import NytimesArticleParser
The author(s) of the article.
EconomistΒΆ
Extract metadata from economist index and article pages
-
class
soupstars.examples.economist.
WeeklyIndexPages
(**kwargs)[source]ΒΆ Example model for storing the results of the parser
-
class
soupstars.examples.economist.
WeeklyIndexPageParser
(url)[source]ΒΆ Parse metadata from the weekly updated index pages
-
Model
ΒΆ alias of
WeeklyIndexPages
-