in reply to Re^2: regex to get random quote
in thread regex to get random quote
Hello Datz_cozee75,
I'm getting nothing
Not surprising, really, since the (new!) target website contains no <div> tags. :-)
Removing the outer foreach and calling look_down(_tag => 'p') on $tree, I get:
17:18 >perl 1631_SoPW.pl Wide character in say at 1631_SoPW.pl line 54. You can view the sky as seen from various cities around the globe by +clicking on the name of a city below. If you don't know the latitude +and longitude of your observing site, click on the closest city in th +e table—unless you're far away from that city, the sky map will be +reasonably accurate. nix! 17:19 >
Which seems about right: a search through the source for that website finds only this one <p>...</p>-delimited paragraph.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: regex to get random quote
by Aldebaran (Curate) on May 17, 2016 at 08:02 UTC | |
by Athanasius (Archbishop) on May 17, 2016 at 12:34 UTC | |
by Aldebaran (Curate) on May 21, 2016 at 06:59 UTC | |
by Athanasius (Archbishop) on May 21, 2016 at 07:33 UTC | |
by Aldebaran (Curate) on May 22, 2016 at 00:26 UTC | |
|