How can I count word frequency in a web site?
ryguy7272
ryanshuell at gmail.com
Mon Nov 30 10:04:11 EST 2015
On Sunday, November 29, 2015 at 7:49:40 PM UTC-5, ryguy7272 wrote:
> I'm trying to figure out how to count words in a web site. Here is a sample of the link I want to scrape data from and count specific words.
> http://finance.yahoo.com/q/h?s=STRP+Headlines
>
> I only want to count certain words, like 'fraud', 'lawsuit', etc. I want to have a way to control for specific words. I have a couple Python scripts that do this for a text file, but not for a web site. I can post that, if that's helpful.
This works great! Thanks for sharing!!
More information about the Python-list
mailing list