{"id":20382907,"url":"https://github.com/zfb132/check_submission_status","last_synced_at":"2026-06-06T17:32:39.490Z","repository":{"id":243883965,"uuid":"674375357","full_name":"zfb132/check_submission_status","owner":"zfb132","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-09T06:27:03.000Z","size":24,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T07:57:27.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zfb132.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-03T19:45:57.000Z","updated_at":"2023-08-07T13:08:23.000Z","dependencies_parsed_at":"2024-06-11T20:14:36.817Z","dependency_job_id":"87469d4f-ce48-4882-8d06-5e80f77bab28","html_url":"https://github.com/zfb132/check_submission_status","commit_stats":null,"previous_names":["zfb132/check_submission_status"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2Fcheck_submission_status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2Fcheck_submission_status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2Fcheck_submission_status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2Fcheck_submission_status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zfb132","download_url":"https://codeload.github.com/zfb132/check_submission_status/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935269,"owners_count":20044826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T02:19:32.816Z","updated_at":"2026-06-06T17:32:39.452Z","avatar_url":"https://github.com/zfb132.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 使用说明\n本程序会自动登录`Scholar One`投稿系统，获取当前稿件的状态，并将状态（若状态发生变化）发送到指定邮箱  \n可以配合`crontab`或者`timer`定时运行，实现自动化检测稿件状态的功能  \n\n## 1. 安装谷歌浏览器\nWindows直接下载安装`exe`文件即可  \nLinux系统下，直接下载`deb`文件安装即可\n\n## 2. 安装谷歌浏览器驱动\n[点击这里下载](https://chromedriver.chromium.org/downloads)  \n根据提示下载对应版本的驱动（注意谷歌浏览器版本号、操作系统类型必须匹配）压缩包，解压出可执行文件`chromedriver(.exe)`\n\n## 3. 检测是否安装成功\n```bash\nchromedriver --version\n\n# ChromeDriver 115.0.5790.170 (cc0d30c2ca5577520c8646671513241faa0bc105-refs/branch-heads/5790@{#1923})\n```\n\n## 4. 安装依赖\n```bash\npip install bs4 splinter selenium lxml\n```\n\n## 5. 修改配置\n重命名`config.py`文件为`config.example.py`文件，修改其中的配置项\n\n## 6. 运行\n```bash\npython3 main.py\n```\n\n## 7. 使用crontab定时运行\n```bash\ncrontab -e\n# 添加如下内容：表示每天本地时间8点运行一次\n0 8 * * * bash -c \"cd /abs_path/to/this/project \u0026\u0026 python3 main.py\"\n```\n\n## 使用service timer定时运行\n创建`/etc/systemd/system/check_submission_status.service`文件，添加如下内容  \n```conf\n[Unit]\nDescription=Check Submission Status service\nAfter=network.target\nWants=check_submission_status.timer\n\n[Service]\nType=oneshot\nUser=your_username\nWorkingDirectory=/abs_path/to/this/project\nExecStart=/usr/bin/python3 main.py\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target\n```\n创建`/etc/systemd/system/check_submission_status.timer`文件，添加如下内容  \n```conf\n[Unit]\nDescription=Check Submission Status timer\nRequires=check_submission_status.service\n\n[Timer]\nUnit=check_submission_status.service\n# AccuracySec = 1us\nRandomizedDelaySec = 1h\n# 每天UTC时间1点和12点运行一次\nOnCalendar=*-*-* 01,12:00:00 UTC\nPersistent=yes\n\n[Install]\nWantedBy=timers.target\n```\n启动定时器\n```bash\nsystemctl daemon-reload\nsystemctl enable check_submission_status.timer\nsystemctl start check_submission_status.timer\n\n# 查看系统所有的定时器状态\nsystemctl list-timers --no-pager\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfb132%2Fcheck_submission_status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzfb132%2Fcheck_submission_status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfb132%2Fcheck_submission_status/lists"}