gism / filmaffinity2CSV

Get filmaffinity voted movies, save them to CSV and post them on IMDB
GNU Affero General Public License v3.0
18 stars 11 forks source link

Update faHelper.py #3

Closed Dimas-sc closed 3 years ago

Dimas-sc commented 8 years ago

Per evitar errors d'encoding com aquest: [FA get all data] Exception in thread Thread-5: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner self.run() File "C:\filmaffinity2IMDB-master\faHelper.py", line 364, in run print "[FA get all data] ", film[1] File "C:\Python27\lib\encodings\cp850.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode character u'\u2019' in position 8: character maps to