fbcrawl icon indicating copy to clipboard operation
fbcrawl copied to clipboard

File contains no section headers

Open NAlmaghraby opened this issue 5 years ago • 0 comments

Hello there, Please, I need help with this error. whenever I try to run the first line of the code, I get this error. how can I fix it, please. Thank you (base) C:\Users\NoNo\Desktop\scrapy\fbcrawl>scrapy crawl fbcrawl -a email="[email protected]" -a password="10wnyu31" -a page="Nike" -a date="2019-01-01" -a lang="en" -o Trump.csv Traceback (most recent call last): File "C:\Users\NoNo\Anaconda3\Scripts\scrapy-script.py", line 10, in sys.exit(execute()) File "C:\Users\NoNo\Anaconda3\lib\site-packages\scrapy\cmdline.py", line 110, in execute settings = get_project_settings() File "C:\Users\NoNo\Anaconda3\lib\site-packages\scrapy\utils\project.py", line 63, in get_project_settings init_env(project) File "C:\Users\NoNo\Anaconda3\lib\site-packages\scrapy\utils\conf.py", line 84, in init_env cfg = get_config() File "C:\Users\NoNo\Anaconda3\lib\site-packages\scrapy\utils\conf.py", line 98, in get_config cfg.read(sources) File "C:\Users\NoNo\Anaconda3\lib\configparser.py", line 696, in read self._read(fp, filename) File "C:\Users\NoNo\Anaconda3\lib\configparser.py", line 1079, in _read raise MissingSectionHeaderError(fpname, lineno, line) configparser.MissingSectionHeaderError: File contains no section headers. file: 'C:\Users\NoNo\Desktop\scrapy\fbcrawl\scrapy.cfg', line: 7 '\n'

NAlmaghraby avatar May 30 '19 07:05 NAlmaghraby