Skip to content
Advertisement

What is this Scrapy error: ReactorNotRestartable?

I do not understand why my spider wont run. I tested the css selector separately, so I do not think it is the parsing method.

Traceback message: ReactorNotRestartable:

JavaScript

Advertisement

Answer

urls = “https://www.espn.com/college-football/team/_/id/52” for url in urls:

You’re going through the characters of “urls”, change it to a list:

JavaScript

Also you don’t have “parse_front” function, if you just didn’t add it to the snippet then ignore this, if it was a mistake then change it to:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement