You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a crawlspider with multiple rules, if one of them has no methods attached as a callback, then it gets "TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'". It tries to make a directory based on the name, but fails to do so. Adding a check prevents this issue.
I found another issue as well. Although the fix works(as in the spider doesn't crash), the generated tests don't work. It tries to call the non existent method and gets an error TypeError: NoneType object is not callable