chore:run

This commit is contained in:
guorong.zheng 2024-11-28 15:33:54 +08:00
parent e1d97bd4d9
commit 74ffedaa4c
3 changed files with 4 additions and 3 deletions

View file

@ -62,7 +62,7 @@ jobs:
- name: Install pipenv
run: pip3 install --user pipenv
- name: Install dependecies
run: pipenv --python 3.13 && pipenv install
run: pipenv --python 3.13 && pipenv install --deploy
- name: Install selenium
if: env.OPEN_DRIVER == 'True'
run: pipenv install selenium
@ -100,6 +100,7 @@ jobs:
fi
if [[ -f "output/sort.log" ]]; then
git add -f "output/sort.log"
fi
if [[ -f "updates/fofa/fofa_hotel_region_result.pkl" ]]; then
git add -f "updates/fofa/fofa_hotel_region_result.pkl"
fi

View file

@ -10,7 +10,7 @@ done
. /.venv/bin/activate
service cron start
service cron start &
python $APP_WORKDIR/main.py &

View file

@ -392,7 +392,7 @@ def convert_to_m3u():
m3u_file_path = os.path.splitext(user_final_file)[0] + ".m3u"
with open(m3u_file_path, "w", encoding="utf-8") as m3u_file:
m3u_file.write(m3u_output)
print(f"Result m3u file generated at: {m3u_file_path}")
print(f"M3U result file generated at: {m3u_file_path}")
def get_result_file_content(show_content=False, file_type=None):