mustafadalga / Instagram-Bot

An Instagram bot developed using the Selenium Framework
https://github.com/mustafadalga/Instagram-Bot
GNU General Public License v3.0
280 stars 85 forks source link

json.decoder.JSONDecodeError: Unexpected UTF-8 BOM #16

Closed WhoR3born closed 3 years ago

WhoR3born commented 3 years ago

getting this error

Traceback (most recent call last): File "C:\Users\ASrosTOS\Desktop\Instagram-Bot-master\instagram.py", line 2031, in <module> instagram = Instagram() File "C:\Users\ASrosTOS\Desktop\Instagram-Bot-master\instagram.py", line 21, in __init__ self.ayarlarYukle() File "C:\Users\ASrosTOS\Desktop\Instagram-Bot-master\instagram.py", line 1040, in ayarlarYukle self.config = json.load(dosya) File "C:\Users\ASrosTOS\AppData\Local\Programs\Python\Python39\lib\json\__init__.py", line 293, in load return loads(fp.read(), File "C:\Users\ASrosTOS\AppData\Local\Programs\Python\Python39\lib\json\__init__.py", line 335, in loads raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)", json.decoder.JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)

mustafadalga commented 3 years ago

Such an error may occur due to the terminal you are using. Have you tried using Powershell?