Use six.PY2 instead of six.PY3 for Python version variations
Use six.PY2 instead of six.PY3 for Python version variations

Also don't test passed encoding against 'utf8';
Just consider that if encoding failed, it must have been another encoding.

dracony/scrapy,scrapy/scrapy,kmike/scrapy,Parlin-Galanodel/scrapy,YeelerG/scrapy,starrify/scrapy,wenyu1001/scrapy,umrashrf/scrapy,carlosp420/scrapy,ArturGaspar/scrapy,crasker/scrapy,cyberplant/scrapy,Ryezhang/scrapy,redapple/scrapy,redapple/scrapy,cyberplant/scrapy,finfish/scrapy,elacuesta/scrapy,taito/scrapy,pawelmhm/scrapy,elacuesta/scrapy,dangra/scrapy,barraponto/scrapy,darkrho/scrapy-scrapy,YeelerG/scrapy,carlosp420/scrapy,rootAvish/scrapy,pawelmhm/scrapy,pablohoffman/scrapy,jc0n/scrapy,starrify/scrapy,eLRuLL/scrapy,crasker/scrapy,kmike/scrapy,rootAvish/scrapy,wenyu1001/scrapy,taito/scrapy,scrapy/scrapy,ArturGaspar/scrapy,rolando-contrib/scrapy,Ryezhang/scrapy,YeelerG/scrapy,ssteo/scrapy,cyberplant/scrapy,Parlin-Galanodel/scrapy,w495/scrapy,rolando/scrapy,eLRuLL/scrapy,w495/scrapy,arush0311/scrapy,pablohoffman/scrapy,foromer4/scrapy,darkrho/scrapy-scrapy,carlosp420/scrapy,dangra/scrapy,GregoryVigoTorres/scrapy,ssteo/scrapy,foromer4/scrapy,rolando-contrib/scrapy,ssteo/scrapy,barraponto/scrapy,wujuguang/scrapy,shaform/scrapy,w495/scrapy,rolando/scrapy,starrify/scrapy,rolando-contrib/scrapy,eLRuLL/scrapy,GregoryVigoTorres/scrapy,arush0311/scrapy,scrapy/scrapy,elacuesta/scrapy,taito/scrapy,GregoryVigoTorres/scrapy,Ryezhang/scrapy,darkrho/scrapy-scrapy,rolando/scrapy,umrashrf/scrapy,barraponto/scrapy,arush0311/scrapy,jc0n/scrapy,pawelmhm/scrapy,rootAvish/scrapy,dracony/scrapy,wujuguang/scrapy,pablohoffman/scrapy,crasker/scrapy,wujuguang/scrapy,finfish/scrapy,shaform/scrapy,kmike/scrapy,ArturGaspar/scrapy,umrashrf/scrapy,foromer4/scrapy,finfish/scrapy,dracony/scrapy,shaform/scrapy,jc0n/scrapy,wenyu1001/scrapy,dangra/scrapy,Parlin-Galanodel/scrapy,redapple/scrapy