forked from filipg/twilight-library
archiwumharcerskie.hs changes
This commit is contained in:
parent
0858766cc9
commit
65cf05c014
@ -12,7 +12,7 @@ import Text.Regex.Posix
|
|||||||
import Text.Printf
|
import Text.Printf
|
||||||
|
|
||||||
-- wyciaganie pdf-ow
|
-- wyciaganie pdf-ow
|
||||||
extractRecords = extractLinksWithText "//nav//a[contains(@href,'title=Kategoria:Dokumenty')]"
|
extractRecords = extractLinksWithText "//nav//a[contains(@href,'title=Kategoria:')]"
|
||||||
>>> first (extractLinksWithText "//a[contains(@href,'title=Plik') and contains(@href,'pdf')]")
|
>>> first (extractLinksWithText "//a[contains(@href,'title=Plik') and contains(@href,'pdf')]")
|
||||||
>>> first (first (extractLinksGeneralized "//div[@id='file']//iframe" "src"))
|
>>> first (first (extractLinksGeneralized "//div[@id='file']//iframe" "src"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user