Advertisement
YoungJules

Untitled

Jul 27th, 2012
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     # Set up a list of transport types to skip
  2.     skip_list = {"1582", "1583", "1584", "1585", "1586", "1587", "1588", "1589", "1590", "1591", "1592", "1593", "1594", "1596"}
  3.  
  4.     # Now we loop through each value   
  5.     for option in option_tags:
  6.         opt_value = option['value'].strip()
  7.         if opt_value in skip_list: continue
  8.         ttype_code_name = []
  9.         ttype_code_name.append(opt_value)
  10.         ttype_code_name.append(option.contents[0].strip())
  11.         do_search(ttype_code_name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement