View Single Post
Old May 25th, 2006, 4:27 PM   #196
zem52887
Hobbyist Programmer
 
Join Date: May 2006
Posts: 127
Rep Power: 3 zem52887 is on a distinguished road
Arevos, you sir, are great at what you do. Adding in "q?s" solved the ticker problem. However, I took out sys.exit and it's exiting after the first industry.

Now, to compound the difficulty slightly, is there a way to designate any company with a "q?s"... as public, if you remember in the original spreadsheet, there was a column that was labelled public, where I would simply write "yes" if a company was public.

Could we do something like:
for all "q?s" in a['href'] print "yes\n"

would something like that work, and would we be able to put it in it's own cell when embedding the HTML?

also, I fetched the company name from the webpage title (in <title> tags)
so I need a way to make it so that when I return it I'm not returning the title tags but the actual text, otherwise when I embed it in HTML it's not going to display the company name.

okay I figured out how to do the company name, I used regex as if it were a piece of data rather than searching for a tag.

Last edited by zem52887; May 25th, 2006 at 4:57 PM.
zem52887 is offline   Reply With Quote