Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-12-17 21:28:30 +08:00 committed by GitHub
parent b9499faaf9
commit 954bfdbbc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ async def news(msg):
if web_render:
use_local = True if web_render_local else False
api = (web_render_local if use_local else web_render) + 'source?url=' + api
html = await get_url(api, 200)
html = await get_url(api, 200, request_private_ip=True)
Logger.debug(html)
bs = BeautifulSoup(html, 'html.parser')
results = bs.select('#threadlisttableid > tbody[id^="normalthread_"]')