alecxe / scrapy-fake-useragent

Random User-Agent middleware based on fake-useragent
MIT License
687 stars 98 forks source link

Update providers.py #40

Closed jansonh closed 1 year ago

jansonh commented 1 year ago

Set the fallback to empty string when FAKEUSERAGENT_FALLBACK is not provided in the settings.py, because it returns AssertionError: fallback must be a string when set to None.