in reply to Re: How to browse using WWW::Mechanize::Firefox
in thread How to browse using WWW::Mechanize::Firefox
But the issue is how to get the dates too respective with their events. e.g. Output should be like this : 01/05/2012 Spanish I A Days 03/05/2012 Mi Familia- Oral presentation TODAY!!! Spanish I B days 04/05/2012 Mi Familia Oral Presentation TODAY!!! Spanish I A days 01/05/2012 Spanish II 08/05/2012 Spanish II Chapter 3A Quiz 28/05/2012 HOLIDAY (Memorial Day) Please make the changes in perl script itself.#!perl -w use strict; use WWW::Mechanize::Firefox; my $mech = WWW::Mechanize::Firefox->new(); $mech->get('http://www.lcps.org/Page/2309'); my $cal_content= $mech->content; while($cal_content=~m/"fc-event-title\s*ellipsis"(\s|\w)*>(.*?)<\/span +>/g){ print $2."\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to browse using WWW::Mechanize::Firefox
by Corion (Patriarch) on May 29, 2012 at 08:24 UTC | |
by ckj (Chaplain) on May 29, 2012 at 09:26 UTC | |
by Corion (Patriarch) on May 29, 2012 at 09:34 UTC | |
by ckj (Chaplain) on May 29, 2012 at 11:54 UTC | |
by Corion (Patriarch) on May 29, 2012 at 12:13 UTC | |
| |
by Anonymous Monk on May 29, 2012 at 09:31 UTC |