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 New Issue