Skip to content

Commit

Permalink
fix rule: bbc.com
Browse files Browse the repository at this point in the history
  • Loading branch information
fishjar committed Apr 5, 2024
1 parent 6193698 commit 76bd345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const RULES_MAP = {
selector: `.ts-teaser-title a, .news-title a, .title a, .teaser-description a, .hbudab h3, .hbudab p, figcaption ,article ${DEFAULT_SELECTOR}`,
},
"www.bbc.com": {
selector: `[data-component="text-block"] ${DEFAULT_SELECTOR}, [data-testid="card-headline"], [data-testid="card-description"], [data-component="text-block"]>p, [data-component="caption-block"]>span, [data-component="headline-block"]>h1, [data-component="subheadline-block"]>h2, [data-testid="section-title-wrapper"]>h2`,
selector: `[data-component] ${DEFAULT_SELECTOR}, [data-testid="video-page-video-section"] ${DEFAULT_SELECTOR}, [data-testid="card-headline"], [data-testid="card-description"], [data-component="caption-block"]>span, [data-testid="section-title-wrapper"]>h2`,
},
"www.chinadaily.com.cn": {
selector: `h1, .tMain [shape="rect"], .cMain [shape="rect"], .photo_art [shape="rect"], .mai_r [shape="rect"], .lisBox li, #Content ${DEFAULT_SELECTOR}`,
Expand Down

0 comments on commit 76bd345

Please sign in to comment.