Skip to content

Commit 404fb00

Browse files
committed
update workflows and ci/cd
1 parent 75ebfc1 commit 404fb00

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scrape.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,14 @@ echo "job_title,job_location,job_department,job_url,first_seen,base_salary,job_t
2020
# Process spider files
2121
found_files=false
2222
for spider_file in "$spider_dir"/*.py; do
23+
filename=$(basename "$spider_file" .py)
24+
25+
# Skip __init__.py file
26+
if [[ "$filename" == "__init__" ]]; then
27+
continue
28+
fi
29+
2330
if [[ -f "$spider_file" ]]; then
24-
filename=$(basename "$spider_file" .py)
2531
output_file="$output_dir/${filename}.csv"
2632

2733
echo "Processing $filename..."

0 commit comments

Comments
 (0)