for i in soup.select(
    'table.drug-table.data-table.table.table-condensed.table-bordered > tr > td'
    ):
    pass
How to match a particular tag through css selectors where the class attribute contains spaces?