We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39a029e commit e9c8402Copy full SHA for e9c8402
scrapegraphai/nodes/fetch_node.py
@@ -124,7 +124,7 @@ def execute(self, state):
124
return handlers[input_type](state, input_type, source)
125
elif self.input == "pdf_dir":
126
return state
127
- elif not source.startswith("http") or not source.startswith("www"):
+ elif not source.startswith("http") and not source.startswith("www"):
128
return self.handle_local_source(state, source)
129
else:
130
return self.handle_web_source(state, source)
0 commit comments