From 9f586aa21e46561d0b6d31562d2d1e884da59fd3 Mon Sep 17 00:00:00 2001 From: Thiago Talma Date: Mon, 19 Aug 2013 12:46:50 -0300 Subject: Create globoesporte.globo.com.txt --- globoesporte.globo.com.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 globoesporte.globo.com.txt diff --git a/globoesporte.globo.com.txt b/globoesporte.globo.com.txt new file mode 100644 index 0000000..4cda55b --- /dev/null +++ b/globoesporte.globo.com.txt @@ -0,0 +1,19 @@ +title: //h1[@class="entry-title"] + +body: //*[@id="materia-letra"] + +date: //abbr[@class="published"] +date: //abbr[@class="updated"] + +author: //*[@class="author"]/strong + +strip: //*[@class="foto"]//strong +strip: //*[@class="saibamais"] +strip: //*[@class="frase-materia"] + +prune: no + +replace_string([Clique aqui e veja mais vĂ­deos do Fluminense]): [] + +test_url: http://globoesporte.globo.com/atletismo/noticia/2013/08/michael-johnson-diz-que-bolt-e-melhor-da-historia-nao-ha-duvidas.html +test_url: http://globoesporte.globo.com/futebol/futebol-internacional/futebol-espanhol/noticia/2013/08/barca-atropela-levante-e-neymar-passa-em-branco-em-estreia-oficial.html -- cgit v1.3.1 From 606c9d2f8f5d07a51941a591aa0d8fc93652a213 Mon Sep 17 00:00:00 2001 From: Thiago Talma Date: Mon, 19 Aug 2013 14:00:19 -0300 Subject: Update globoesporte.globo.com.txt --- globoesporte.globo.com.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/globoesporte.globo.com.txt b/globoesporte.globo.com.txt index 4cda55b..81efd2e 100644 --- a/globoesporte.globo.com.txt +++ b/globoesporte.globo.com.txt @@ -1,15 +1,17 @@ title: //h1[@class="entry-title"] -body: //*[@id="materia-letra"] +body: ///div[@class='materia-titulo']/h2 | //*[@id="materia-letra"] date: //abbr[@class="published"] date: //abbr[@class="updated"] author: //*[@class="author"]/strong +# quotes +wrap_in(blockquote): //*[@class="frase-materia"] + strip: //*[@class="foto"]//strong strip: //*[@class="saibamais"] -strip: //*[@class="frase-materia"] prune: no -- cgit v1.3.1