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