bs4 returns None, not -1