summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-08 09:22:44 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-08 09:22:44 +0200
commit0e1e73bdd5ba9ca6fcbfec9dd46060832a0104ab (patch)
treee00f516c8319c799bd363a81b83d5c361f8286b6 /README.md
parentb329a335ad10648e64b3de049c083bc04638a072 (diff)
New upstream version 1.7.4upstream/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!