aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/filters/confederationpaysanne.py4
-rwxr-xr-xdoc/filters/donnons.py2
-rwxr-xr-xdoc/filters/leboncoin.py2
-rwxr-xr-xdoc/filters/recupe.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/doc/filters/confederationpaysanne.py b/doc/filters/confederationpaysanne.py
index 6db001e..2025957 100755
--- a/doc/filters/confederationpaysanne.py
+++ b/doc/filters/confederationpaysanne.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai
"""
@@ -65,7 +65,7 @@ for opt in optlist:
print(__doc__)
sys.exit(0)
-html = sys.stdin.read()
+html = sys.stdin.buffer.read()
# Find entries
soup = BeautifulSoup(html, "lxml")
diff --git a/doc/filters/donnons.py b/doc/filters/donnons.py
index cb67b5e..a29eed9 100755
--- a/doc/filters/donnons.py
+++ b/doc/filters/donnons.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai
"""
diff --git a/doc/filters/leboncoin.py b/doc/filters/leboncoin.py
index 7b440ce..d2d3d1a 100755
--- a/doc/filters/leboncoin.py
+++ b/doc/filters/leboncoin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai
"""
diff --git a/doc/filters/recupe.py b/doc/filters/recupe.py
index a621f70..403b5c1 100755
--- a/doc/filters/recupe.py
+++ b/doc/filters/recupe.py
@@ -63,7 +63,7 @@ for opt in optlist:
print(__doc__)
sys.exit(0)
-html = sys.stdin.read()
+html = sys.stdin.buffer.read()
# Find entries
soup = BeautifulSoup(html, "lxml")