We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c689ae commit 869dc17Copy full SHA for 869dc17
visitors.py
@@ -10,7 +10,7 @@ def get_number_of_visitors(language: str) -> int:
10
param = urllib.parse.urlencode(
11
{'filters': f'[["contains","event:page",["/{language}/"]]]'}
12
)
13
- r = requests.get(f'https://plausible.io/docs.python.org/export?{param}', timeout=10)
+ r = requests.get(f'https://plausible.io/docs.python.org/export?{param}', timeout=20)
14
with (
15
zipfile.ZipFile(io.BytesIO(r.content), 'r') as z,
16
z.open('visitors.csv') as csv_file,
0 commit comments