change beautifulsoup to beautifulsoup 4 to eliminate python3 errors