How can I count word frequency in a web site?

ryguy7272 ryanshuell at gmail.com
Sun Nov 29 19:49:16 EST 2015


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.




More information about the Python-list mailing list