summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-08 09:22:46 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-08 09:22:46 +0200
commit4695ffcc5644be052991078ec54665a0f8dee04e (patch)
treee8618310d74af3327172912f0b757e75c4e289d1 /README.md
parentc3fe59e45de91fa7f22e66aa3cf29c3f3c4dfb43 (diff)
parent0e1e73bdd5ba9ca6fcbfec9dd46060832a0104ab (diff)
Merge tag 'upstream/1.7.4'
Upstream version 1.7.4
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
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'}
]
</code>
@@ -53,8 +54,11 @@ sites = [
Regular expression. If XPath/CSS selector is defined, the regular expression is applied afterwards.
* <b>encoding</b> (optional; default: 'utf-8')
Character encoding of the website, e.g., 'utf-8' or 'iso-8859-1'.
- * <b>receiver</b> (optional)
- Overwrites global receiver specification.
+ * <b>receiver</b> (optional)
+ Overrides global receiver specification.
+ * <b>user-agent</b> (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: <a href="https://github.com/Debianguru/MailWebsiteChanges/wiki/snippets">Snippet collection</a> - please feel free to add your own definitions!