mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use the correct format string for fetching files from twitter.
Per their docs https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/entities#photo_format
This commit is contained in:
parent
4cdb8f78cb
commit
644fe41a08
2 changed files with 3 additions and 3 deletions
|
|
@ -94,7 +94,7 @@ proc createMediaRouter*(cfg: Config) =
|
|||
url.insert(twimg)
|
||||
if not url.startsWith(https):
|
||||
url.insert(https)
|
||||
url.add(":orig")
|
||||
url.add("?name=orig")
|
||||
|
||||
let uri = parseUri(url)
|
||||
cond isTwitterUrl(uri) == true
|
||||
|
|
|
|||
Loading…
Reference in a new issue