|
@@ -230,11 +230,12 @@ def make_bubble(title,kw):
|
|
|
id=''
|
|
|
for row in db.query(sql_get_newest_data_date):
|
|
|
id=row['iotid']
|
|
|
+ id = random.randint(1,1050)
|
|
|
box_dict = {
|
|
|
"type": "bubble",
|
|
|
"hero": {
|
|
|
"type": "image",
|
|
|
- "url": "https://api.ptt.cx:6443/get_trend_image?kw_id="+str(930),
|
|
|
+ "url": "https://api.ptt.cx:6443/get_trend_image?kw_id="+str(id),
|
|
|
"size": "full",
|
|
|
"gravity": "top",
|
|
|
"margin": "none",
|