forked from fivefilters/ftr-site-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.globo.com.txt
41 lines (31 loc) · 2.17 KB
/
.globo.com.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
title: //h1[@itemprop="headline"]
body: //div[@class='materia-titulo']/h2 | //*[@id="materia-letra"]
body: //div[contains(concat(' ',normalize-space(@class),' '),' content-head ')] | //article[1] | //div[contains(@class, 'content-top-image')]
date: //time[@itemprop='dateModified']/@datetime
date: //time[@itemprop='datePublished']/@datetime
author: //*[@itemprop='author']
author: //*[@class='content-publication-data__from']/@title
strip: //button
strip: //div[contains(@class,'foto')]/strong
strip: //div[contains(@class,'frase-materia')]/div[@class='autor']
strip: //div[contains(@class,'saibamais')]
strip: //*[contains(text(),'Clique aqui e veja mais')]/ancestor::p
strip: //ul[@class="toolbar"]
strip: //div[@class='mc-article-header']/hr
strip: //strong[text()='LEIA TAMBÉM']/parent::p/parent::div/parent::div | //strong[text()='LEIA TAMBÉM']/parent::p/parent::div/parent::div/following-sibling::*
strip: //a[contains(@href, 'www.whatsapp.com/channel/')]/ancestor::div[1]
strip: //section[@id='passador-materia'] | //section[@id='passador-materia']/following-sibling::*
strip_id_or_class: content__share-bar
strip_id_or_class: content__signa-share
strip_id_or_class: bread-crumb-title
strip_id_or_class: gallery-mosaic-item
# quotes
wrap_in(blockquote): //div[@id='materia-letra']//div[contains(@class,'frase-materia')]/div[@class='frase']
prune: no
tidy: no
replace_string([Clique aqui e veja mais vídeos do Fluminense]): []
test_url: https://ge.globo.com/atletismo/noticia/2013/08/michael-johnson-diz-que-bolt-e-melhor-da-historia-nao-ha-duvidas.html
test_url: https://ge.globo.com/futebol/futebol-internacional/futebol-espanhol/noticia/2013/08/barca-atropela-levante-e-neymar-passa-em-branco-em-estreia-oficial.html
test_url: https://g1.globo.com/mundo/noticia/2024/11/15/palco-de-mortes-e-tragedias-palacio-amaldicoado-de-veneza-e-vendido-a-comprador-anonimo.ghtml
test_url: https://gshow.globo.com/tudo-mais/tv-e-famosos/noticia/giovanna-ewbank-e-bruno-gagliasso-se-pronunciam-apos-justica-condenar-portuguesa-acusada-de-racismo.ghtml
test_url: https://oglobo.globo.com/cultura/noticia/2024/11/15/erro-em-nome-de-ivan-lins-durante-grammy-latino-gera-criticas-nas-redes-sociais-quem-e-david-lins.ghtml