File: courrierinternational.com.txt

package info (click to toggle)
feedreader 2.10.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,580 kB
  • sloc: ansic: 11,948; xml: 879; php: 177; python: 35; sh: 32; makefile: 28
file content (23 lines) | stat: -rw-r--r-- 744 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
title: //h1

# We can have multiple authors
author: //div[@class='author-name-short']

# Publication date
date: //time[@itemprop='datePublished']/@datetime

body: //div[@id='article-text']

prune: no

requires_login: true
not_logged_in_xpath: //div[@class="box-reserved-abo"]

login_uri: https://www.courrierinternational.com/login
login_username_field: name
login_password_field: pass
login_extra_fields: form_build_id=@=xpath('//form[@id="user-login-form"]//input[@name="form_build_id"]', request_html('http://www.courrierinternational.com/login'))
login_extra_fields: form_id=user_login_block
login_extra_fields: remember_me=1

test_url: http://www.courrierinternational.com/article/securite-informatique-cyberattaque-une-tempete-planetaire