mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-31 07:42:51 -05:00
Fix parsing old gifs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user