Skip to content

Commit e9c8402

Browse files
committed
Update fetch_node.py
1 parent 39a029e commit e9c8402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapegraphai/nodes/fetch_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def execute(self, state):
124124
return handlers[input_type](state, input_type, source)
125125
elif self.input == "pdf_dir":
126126
return state
127-
elif not source.startswith("http") or not source.startswith("www"):
127+
elif not source.startswith("http") and not source.startswith("www"):
128128
return self.handle_local_source(state, source)
129129
else:
130130
return self.handle_web_source(state, source)

0 commit comments

Comments
 (0)