Sc article instead
This commit is contained in:
parent
1af27b1285
commit
099ea7c8ea
1 changed files with 1 additions and 1 deletions
|
@ -61,5 +61,5 @@ async def _(msg: Bot.MessageSession):
|
|||
'''
|
||||
pic = await download_to_cache(web_render_local + 'element_screenshot', method='POST', headers={
|
||||
'Content-Type': 'application/json',
|
||||
}, post_data=json.dumps({'url': f'https://static-tweet.vercel.app/{tweet_id}', 'css': css, 'width': 1000, 'mw': False, 'element': 'main' }), request_private_ip=True)
|
||||
}, post_data=json.dumps({'url': f'https://static-tweet.vercel.app/{tweet_id}', 'css': css, 'mw': False, 'element': 'article' }), request_private_ip=True)
|
||||
await msg.finish([Image(pic), f"https://twitter.com/{res_json['pageProps']['tweet']['user']['screen_name']}/status/{tweet_id}"])
|
||||
|
|
Reference in a new issue