View Single Post
Old May 25th, 2006, 12:58 PM   #192
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by zem52887
At least, that's the what I think happened. Now how do we go about troubleshooting this issue?
I suggest you look at my get_industry_urls function. You need an if statement in the list comprehension you return. Maybe something like:
return [a['href'] for a in urls if a.string != "Public" and a.string != "Private / Foreign"]
Or code to that effect.
Arevos is offline   Reply With Quote