diff --git a/lib/something_erlang/awful_api/thread.ex b/lib/something_erlang/awful_api/thread.ex index 6f45439..a733682 100644 --- a/lib/something_erlang/awful_api/thread.ex +++ b/lib/something_erlang/awful_api/thread.ex @@ -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),