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