mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-23 03:35:32 +00:00
Fix parsing old gifs
This commit is contained in:
parent
92e3df411f
commit
45afa5509a
|
@ -7,7 +7,7 @@ from q import nil
|
|||
|
||||
const
|
||||
thumbRegex = re".+:url\('([^']+)'\)"
|
||||
gifRegex = re".+thumb/([^\.']+)\.jpg.*"
|
||||
gifRegex = re".+thumb/([^\.']+)\.[jpng].*"
|
||||
|
||||
proc selectAll*(node: XmlNode; selector: string): seq[XmlNode] =
|
||||
if node == nil: return
|
||||
|
|
Loading…
Reference in a new issue