mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Cracked.com
This commit is contained in:
parent
b000dfd777
commit
4a2a20e550
@ -24,28 +24,32 @@ class Cracked(BasicNewsRecipe):
|
|||||||
}
|
}
|
||||||
|
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
dict(name='div', attrs={'class': [
|
dict(name='div', attrs={
|
||||||
'content-content',
|
'class': ['content-content', 'contentWrapper', 'content-header',]}),
|
||||||
'contentWrapper',
|
dict(name='article', attrs={'class': [
|
||||||
'content-header',
|
'module article dropShadowBottomCurved', 'module blog dropShadowBottomCurved',]}),
|
||||||
]}),
|
]
|
||||||
dict(name='article', attrs={'class': [
|
|
||||||
'module article dropShadowBottomCurved',
|
|
||||||
'module blog dropShadowBottomCurved',
|
|
||||||
]}),
|
|
||||||
]
|
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name='section', attrs={'class': ['socialTools', 'quickFixModule', 'continue-reading']}),
|
dict(name='section', attrs={
|
||||||
dict(attrs={'class':['socialShareAfterContent', 'socialShareModule', 'continue-reading', 'social-share-bottom list-inline']}),
|
'class': ['socialTools', 'quickFixModule', 'continue-reading']}),
|
||||||
dict(name='div', attrs={'id': ['relatedArticle', 'content-card-top', 'recommendedForYourPleasure', 'navbar']}),
|
dict(attrs={'class':['socialShareAfterContent', 'socialShareModule',
|
||||||
dict(name='div', attrs={'class': ['comments-wrap', 'container continue-reading', 'row breadcrumbs-wrapper']}),
|
'continue-reading', 'social-share-bottom list-inline']}),
|
||||||
|
dict(name='div', attrs={'id': ['relatedArticle', 'content-card-top',
|
||||||
|
'recommendedForYourPleasure', 'navbar', 'flashbackModuleWrap', 'moreRecommendedArticles']}),
|
||||||
|
dict(name='div', attrs={'class': [
|
||||||
|
'comments-wrap', 'container continue-reading', 'row breadcrumbs-wrapper', 'btn-social-favorites col',
|
||||||
|
'hidden-social col', 'ajax-loader comments-loader-bottom', 'flashback-module-new',
|
||||||
|
'card-md-list card-sm-list card-xs-list',
|
||||||
|
'popular-module card-md-list card-sm-list card-xs-list', 'col-md-12 list-title',
|
||||||
|
'content-cards d-flex flex-wrap',
|
||||||
|
'google-plus btn btn-social', 'twitter btn btn-social',
|
||||||
|
'facebook btn btn-social', 'row social-share-top-wrapper']}),
|
||||||
dict(name='h4', attrs={'class': ['mobile-ad-label']}),
|
dict(name='h4', attrs={'class': ['mobile-ad-label']}),
|
||||||
dict(name='ul', attrs={'id': [
|
dict(name='ul', attrs={'id': ['breadcrumbs', 'socialShare']}),
|
||||||
'breadcrumbs',
|
dict(name='ul', attrs={'class': ['list-unstyled offcanvas-sections']}),
|
||||||
'socialShare',
|
dict(name='div', attrs={
|
||||||
]}),
|
'class': ['bannerAd hidden-sm hidden-md hidden-lg introAd']})
|
||||||
dict(name='div', attrs={'class': ['bannerAd hidden-sm hidden-md hidden-lg introAd']})
|
|
||||||
]
|
]
|
||||||
|
|
||||||
def is_link_wanted(self, url, a):
|
def is_link_wanted(self, url, a):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user