mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use Karax html rendering instead of source filters (#2)
* Use Karax html rendering instead of source filters
This commit is contained in:
parent
fad2575d93
commit
ab36664ad2
21 changed files with 482 additions and 507 deletions
|
|
@ -176,5 +176,5 @@ proc parsePhotoRail*(node: XmlNode): seq[GalleryPhoto] =
|
|||
result.add GalleryPhoto(
|
||||
url: img.attr("data-image-url"),
|
||||
tweetId: img.attr("data-tweet-id"),
|
||||
color: img.attr("background-color").replace("style", "background-color")
|
||||
color: img.attr("background-color").replace("style: ", "")
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue