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 edccb43 commit 6193698
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +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: `h1, h2, .media__link, .media__summary, article ${DEFAULT_SELECTOR}, .ssrcss-y7krbn-Stack, .ssrcss-17zglt8-PromoHeadline, .ssrcss-18cjaf3-Headline, .gs-c-promo-heading__title, .gs-c-promo-summary, .media__content h3, .article__intro, .lx-c-summary-points>li, .top-list-item__headline, [data-component="text-block"]>p`,
keepSelector: `span.top-list-item__byline`,
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`,
},
"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 6193698

Please sign in to comment.