Hi.
The webpage you need to parse is not very wellformed (I think), but
no problem. perhaps the best option is to locate the portion of HTML yo
want, in this case from "Actual Pitching
Statistics " to "". Between this you have a few entries
like this one: " 19 http://www.baseballprospectus.com/d
"Ankit" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Frederic,
>
> Thanks for posting the solution. I used the original solution you
> posted and it worked beautifully.
>
> Paul,
>
> I understand your concern for the site's TOS. Although, this may not
> mean anything, the reason I
posting them.
Ankit
Anthra Norell wrote:
> - Original Message -
> From: "Paul McGuire" <[EMAIL PROTECTED]>
> Newsgroups: comp.lang.python
> To:
> Sent: Wednesday, July 26, 2006 1:01 AM
> Subject: Re: Parsing Baseball Stats
>
>
> > "Anthra
- Original Message -
From: "Paul McGuire" <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Wednesday, July 26, 2006 1:01 AM
Subject: Re: Parsing Baseball Stats
> "Anthra Norell" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTEC
"Anthra Norell" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Paul,
>
> I think self-respect is a very essential attitude and I am pleased to know
that you value it as much as I do.
> The off topic thus dispatched, let me first express my appreciation
or your interest. Next
- Original Message -
From: "Paul McGuire" <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Tuesday, July 25, 2006 7:48 PM
Subject: Re: Parsing Baseball Stats
> "Anthra Norell" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTE
"Anthra Norell" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Below your solution ready to run. Put get_statistics () in a loop
that feeds it the names from your file, makes an ouput file
> name from it and passes both 'statistics' and the ouput file name to
file_stati
m: <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Monday, July 24, 2006 5:48 PM
Subject: Parsing Baseball Stats
> I would like to parse a couple of tables within an individual player's
> SHTML page. For example, I would like to get the "Actual Pitching
> Stati
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I would like to parse a couple of tables within an individual player's
> SHTML page. For example, I would like to get the "Actual Pitching
> Statistics" and the "Translated Pitching Statistics" portions of Babe
> Ruth page (http://www.ba
I would like to parse a couple of tables within an individual player's
SHTML page. For example, I would like to get the "Actual Pitching
Statistics" and the "Translated Pitching Statistics" portions of Babe
Ruth page (http://www.baseballprospectus.com/dt/ruthba01.shtml) and
store that info in a CSV
10 matches
Mail list logo