forked from filipg/twilight-library
remove from url #page=1
This commit is contained in:
parent
65cf05c014
commit
2cf1db1275
@ -15,6 +15,7 @@ import Text.Printf
|
|||||||
extractRecords = extractLinksWithText "//nav//a[contains(@href,'title=Kategoria:')]"
|
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"))
|
||||||
|
>>> first (first (arr $ replace "#page=1" ""))
|
||||||
|
|
||||||
-- proby pobrania pdf i jpg
|
-- proby pobrania pdf i jpg
|
||||||
--extractRecords = extractLinksWithText "//nav//a[contains(@href,'title=Kategoria:14_WDH')]"
|
--extractRecords = extractLinksWithText "//nav//a[contains(@href,'title=Kategoria:14_WDH')]"
|
||||||
|
Loading…
Reference in New Issue
Block a user