Skip to content

Commit

Permalink
Fix Spectator Magazine [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ping committed Oct 12, 2023
1 parent 290090d commit b331cb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/spectator-magazine.recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class SpectatorMagazine(BasicCookielessNewsrackRecipe, BasicNewsRecipe):
masthead_url = "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/The_Spectator_logo.svg/1024px-The_Spectator_logo.svg.png"
compress_news_images_auto_size = 8

request_as_gbot = True

keep_only_tags = [
dict(class_=["entry-header", "entry-content__wrapper", "author-bio__content"])
]
Expand All @@ -44,6 +46,7 @@ class SpectatorMagazine(BasicCookielessNewsrackRecipe, BasicNewsRecipe):
"subscribe-ribbon",
"author-bio__title",
"entry-header__issue",
"audio-read-block",
]
),
dict(id=["most-popular"]),
Expand Down

0 comments on commit b331cb4

Please sign in to comment.