fix: Bump time offset in query
Bad temporary fix, but for some reason MediaWiki seems really picky about its timestamp format
This commit is contained in:
parent
2441225650
commit
8c84b70c33
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
OFFSET = -time.timezone
|
OFFSET = -time.timezone
|
||||||
events_url = "https://bitlair.nl/Special:Ask/-5B-5BCategory:Event-5D-5D-20-5B-5BStart::%E2%89%A519-20January-202023-5D-5D/-3FStart/-3FEnd/-3FEvent-20location/mainlabel%3D/limit%3D50/order%3DASC/sort%3DStart/prettyprint%3Dtrue/format%3Djson"
|
events_url = "https://bitlair.nl/Special:Ask/-5B-5BCategory:Event-5D-5D-20-5B-5BStart::%E2%89%A519-20January-202024-5D-5D/-3FStart/-3FEnd/-3FEvent-20location/mainlabel%3D/limit%3D50/order%3DASC/sort%3DStart/prettyprint%3Dtrue/format%3Djson"
|
||||||
# above URL asks for all events and returns their name, start, end and location
|
# above URL asks for all events and returns their name, start, end and location
|
||||||
events_page = requests.get(events_url)
|
events_page = requests.get(events_url)
|
||||||
events = events_page.json()
|
events = events_page.json()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue