From 0e1e73bdd5ba9ca6fcbfec9dd46060832a0104ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 8 May 2017 09:22:44 +0200 Subject: New upstream version 1.7.4 --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7419ad2..6c6d731 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,8 @@ sites = [ {'shortname': 'mywebsite3', 'uri': 'http://www.mywebsite3.com/info', 'type': 'text', - 'contentregex': 'Version\"\:\d*\.\d*'} + 'contentregex': 'Version\"\:\d*\.\d*', + 'user-agent': 'Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0'} ] @@ -53,8 +54,11 @@ sites = [ Regular expression. If XPath/CSS selector is defined, the regular expression is applied afterwards. * encoding (optional; default: 'utf-8') Character encoding of the website, e.g., 'utf-8' or 'iso-8859-1'. - * receiver (optional) - Overwrites global receiver specification. + * receiver (optional) + Overrides global receiver specification. + * user-agent (optional) + Defines the user agent string, e.g., + 'user-agent': 'Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0' * We collect some XPath/CSS snippets at this place: Snippet collection - please feel free to add your own definitions! -- cgit v1.2.3