From 143ba12bb260b7edb37d4d3a398e19a82dbd14e4 Mon Sep 17 00:00:00 2001 From: Max Maischein Date: Wed, 1 Feb 2017 14:26:39 +0100 Subject: Small syntax fixes (#245) * Fix: "auther" -> "author" * Fix: Add test_url: in front of test url * Move test_url onto one line, change test-url to test_url --- pjmedia.com.txt | 3 +-- vox.com.txt | 2 +- ze.tt.txt | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pjmedia.com.txt b/pjmedia.com.txt index 214e858..79f8c16 100644 --- a/pjmedia.com.txt +++ b/pjmedia.com.txt @@ -3,5 +3,4 @@ replace_string: .. single_page_link: //div[@class='single-page-button']//a -test_url: -https://pjmedia.com/eddriscoll/2016/08/31/tom-wolfe-kingdom-of-speech/ +test_url: https://pjmedia.com/eddriscoll/2016/08/31/tom-wolfe-kingdom-of-speech/ diff --git a/vox.com.txt b/vox.com.txt index 2fe5df7..f231e42 100644 --- a/vox.com.txt +++ b/vox.com.txt @@ -5,4 +5,4 @@ title: //h1[contains(concat(' ',normalize-space(@class),' '),' c-page-title ')] body: //div[contains(concat(' ',normalize-space(@class),' '),' c-entry-content ')] date: //time[contains(concat(' ',normalize-space(@class),' '),' c-byline__item ')] strip: //h3 -test-url: http://www.vox.com/policy-and-politics/2016/11/28/13728086/trump-literally-and-seriously +test_url: http://www.vox.com/policy-and-politics/2016/11/28/13728086/trump-literally-and-seriously diff --git a/ze.tt.txt b/ze.tt.txt index 41b7064..60ffee5 100644 --- a/ze.tt.txt +++ b/ze.tt.txt @@ -11,6 +11,6 @@ date: //time[contains(@class, 'ph-article-date')] author: //div[contains(@class, 'ph-article-authors-wrapper')] body: //div[contains(@class, 'ph-article-text-lead')] | //div[contains(@class, 'ph-article-text-body')] | //div[contains(@class, 'ph-article-image-wrapper')] -test-url: http://ze.tt/fotograf-portraetiert-menschen-nach-12-und-3-glaesern-wein/ -test-url: http://ze.tt/fotoprojekt-menschen-in-mosambik-zeigen-selbst-wie-sie-der-duerre-trotzen/ -test-url: http://ze.tt/was-deine-tattoos-ueber-dich-aussagen/ +test_url: http://ze.tt/fotograf-portraetiert-menschen-nach-12-und-3-glaesern-wein/ +test_url: http://ze.tt/fotoprojekt-menschen-in-mosambik-zeigen-selbst-wie-sie-der-duerre-trotzen/ +test_url: http://ze.tt/was-deine-tattoos-ueber-dich-aussagen/ -- cgit v1.3.1