-
Notifications
You must be signed in to change notification settings - Fork 255
/
arstechnica.com.txt
41 lines (30 loc) · 1.63 KB
/
arstechnica.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
author: //p[@class='byline']/span[@class='author']
author: //p[@class='byline']/a
body: //div[contains(@class,'article-content')]
strip: //h2[@class='title']
strip: //div[contains(@class, 'pullbox')]
strip_id_or_class: byline
strip_id_or_class: story-sidebar
prune: no
find_string: " data-src="
replace_string: "><img src="
find_string: " data-responsive="
replace_string: " /><span "
find_string: <figure style="
replace_string: </span><figure style="
date: //div[@class='byline']/span[@class='posted']//abbr/@original-title
date: //div[@class='byline']/span[@class='posted']//abbr
date: //*[@class='byline']//time[@class='date']
title: //div[@id='story']//h2[@class='title']
strip: //div[@class='pager']
native_ad_clue: //meta[@property="og:url" and contains(@content, '/sponsored/')]
strip: //aside
next_page_link: //nav//a[contains(text(), 'Next')]/@href
next_page_link: //span[@class='numbers']//a/span[@class='next']/..
next_page_link: //nav//a/span[contains(text(), 'Next')]/../@href
test_url: http://arstechnica.com/tech-policy/news/2012/02/gigabit-internet-for-80-the-unlikely-success-of-californias-sonicnet.ars
test_url: http://arstechnica.com/apple/2005/04/macosx-10-4/
test_url: https://arstechnica.com/features/2020/10/the-space-operating-systems-booting-up-where-no-one-has-gone-before
test_url: https://arstechnica.com/gaming/2021/02/coders-reverse-engineer-grand-theft-autos-raw-pc-source-code/
# test_url: http://arstechnica.co.uk/science/2016/06/what-is-open-access-free-sharing-of-all-human-knowledge/
# test_url: http://arstechnica.co.uk/information-technology/2016/05/eben-moglen-gpl-online-advertising-is-becoming-a-perfect-despotism/