body:  //div[@id='article-single']
title: //h1
author: //meta[@name='author']/@content

strip: //div[contains(@class, 'thumbnail-mobile')]
strip: //div[contains(@class, 'article-header')]/h1
strip: //div[contains(@class, 'article-header')]/h2

strip_id_or_class: author
strip_id_or_class: share-bottom
strip_id_or_class: author-info
strip_id_or_class: other-article
strip_id_or_class: aside
strip_id_or_class: comment-widget
strip_id_or_class: share-mobile
strip_id_or_class: paywall

prune: no
tidy: no

# prevent wallabag from strippinhg <h3> headings

find_string: class="wp-block-heading"
replace_string: class="wb_foo"

# login only for wallabag, DO NOT paste you credentials here, you need to do this in wallabag's UI

requires_login: yes

login_uri: https://next.ink/wp-admin/admin-ajax.php
login_username_field: username
login_password_field: password

login_extra_fields: action=ajaxlogin
login_extra_fields: security=@=xpath('//input[@name="security"]', request_html('https://next.ink/login/'))

not_logged_in_xpath: //div[contains(concat(' ',normalize-space(@class),' '),' content-form-account-paywall ')]

###
test_url: https://next.ink/120832/le-reseau-interministeriel-de-letat-rie-fete-ses-10-ans-et-se-modernise/
