标签: python web-scraping scrapy
try: tempTeam = str(playerTree1.cssselect('.table:nth-child(1) .long')[0].text_content()) except IndexError: tempTeam = str("BLANK")