This commit is contained in:
Kovid Goyal 2025-01-12 21:00:14 +05:30
parent fd20bf9baa
commit cf77e78911
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -235,7 +235,7 @@ class FazNet(BasicNewsRecipe):
# Skip articles behind paywall # Skip articles behind paywall
if soup.find(id = "faz-paywall"): if soup.find(id = "faz-paywall"):
self.abort_article() self.abort_article('Skipping paywalled article')
# Remove F.A.Z. ad # Remove F.A.Z. ad
for tag in soup.findAll(attrs={'class': 'body-elements__paragraph'}): for tag in soup.findAll(attrs={'class': 'body-elements__paragraph'}):