Demande de 300 résultats pour les alertes trafic
This commit is contained in:
2
tcl.py
2
tcl.py
@@ -124,7 +124,7 @@ class Tcl(Plugin):
|
|||||||
ATTENTTION : Le bot ne vérifie pas que la ligne existe
|
ATTENTTION : Le bot ne vérifie pas que la ligne existe
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
url = 'https://download.data.grandlyon.com/ws/rdata/tcl_sytral.tclalertetrafic_2/all.json?maxfeatures=200&start=1'
|
url = 'https://download.data.grandlyon.com/ws/rdata/tcl_sytral.tclalertetrafic_2/all.json?maxfeatures=300&start=1'
|
||||||
resp = await self.http.get(url, headers={'Authorization' : 'Basic ' + base64string.decode('utf-8')})
|
resp = await self.http.get(url, headers={'Authorization' : 'Basic ' + base64string.decode('utf-8')})
|
||||||
ans = await resp.text()
|
ans = await resp.text()
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user