fix filtering ignored posts
This commit is contained in:
@ -35,7 +35,11 @@ defmodule SomethingErlang.AwfulApi.Thread do
|
||||
end
|
||||
|
||||
posts =
|
||||
for post <- Meeseeks.all(thread, css("table.post:not(.ignored)")) do
|
||||
for post <- Meeseeks.all(thread, css("table.post")),
|
||||
post
|
||||
|> Meeseeks.attr("class")
|
||||
|> String.contains?("ignored")
|
||||
|> Kernel.not() do
|
||||
%{
|
||||
userinfo: userinfo(post),
|
||||
postdate: postdate(post),
|
||||
|
Reference in New Issue
Block a user