1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-01-29 23:02:49 -05:00

Add workaround for Twitter's layout A/B testing

Fixes #110
This commit is contained in:
Zed
2020-01-19 08:34:32 +01:00
parent 6b16ad2ce0
commit ba57511a01
10 changed files with 43 additions and 21 deletions

View File

@@ -54,7 +54,7 @@ proc getListMembers*(username, list, after, agent: string): Future[Result[Profil
let
url = base / (listMembersUrl % [username, list])
html = await fetchHtml(url, genHeaders(agent, url))
html = await fetchHtml(url, genHeaders(agent, url, guestId=true))
result = Result[Profile](
minId: html.selectAttr(".stream-container", "data-min-position"),