republique

helper scripts for www.republique-numerique.fr
git clone https://a3nm.net/git/republique/
Log | Files | Refs | README

commit 61d6024de96729a36f97fa2d990d46142c23348c
parent 9111c6d29b3c318df7c774f94dedf504dd5cf69d
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 11 Oct 2015 01:53:54 +0200

better explanation

Diffstat:
README | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/README b/README @@ -13,19 +13,19 @@ Requires Debian packages python3-requests, python3-bs4, python3-lxml of the form "/opinions/N X" or "/opinions/N/versions/V X" where X is -1, 0, or 1 -- vote.py LOGIN PASSWORD - connects to www.republique-numerique.fr local account LOGIN PASSWORD +- vote.py EMAIL PASSWORD + connects to www.republique-numerique.fr local account EMAIL PASSWORD and performs votes given on standard input in the form of get_votes.py Examples: - to perform the same votes as USER - get_votes.py USER | vote.py YOURLOGIN YOURPASS + get_votes.py USER | vote.py YOUREMAIL YOURPASS - to vote for all propositions and opinions of USER - get_propositions.py USER | sed 's/$/ 1/' | vote.py YOURLOGIN YOURPASS + get_propositions.py USER | sed 's/$/ 1/' | vote.py YOUREMAIL YOURPASS (Note that users are *not* counted as having voted for their own propositions and opinions.)