Skip to content

Commit

Permalink
add check for custom exporter misonfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermo-bondonno committed Mar 6, 2024
1 parent af9e83f commit 70e95cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scrapy/extensions/feedexport.py
Expand Up @@ -452,6 +452,7 @@ def __init__(self, crawler):
if not (
self._exporter_supported(feed_options["format"])
or feed_options.get("custom_exporter_class")
and urlparse(uri).scheme == "custom"
):
raise NotConfigured

Expand Down

0 comments on commit 70e95cc

Please sign in to comment.