Fix parsing old gifs

This commit is contained in:
Zed 2019-07-03 10:00:27 +02:00
parent 92e3df411f
commit 45afa5509a
1 changed files with 1 additions and 1 deletions

View File

@ -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