Explorar o código

Fix selector for sub components

jherve %!s(int64=2) %!d(string=hai) anos
pai
achega
17b258a1e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/LinkedIn/ArtDecoCard.purs

+ 1 - 1
src/LinkedIn/ArtDecoCard.purs

@@ -32,7 +32,7 @@ instance Show ArtDecoCenterContent where
 
 parseArtDecoCenterContent ∷ Node → Effect (Either String ArtDecoCenterContent)
 parseArtDecoCenterContent n = do
-  list <- queryAndDetachMany ":scope .pvs-entity__sub-components" n
+  list <- queryAndDetachMany ":scope > ul > li" n
   pure $ Right (ArtDecoCenterContent (hush list))
 
 data ArtDecoCenterHeader = ArtDecoCenterHeader {