Compare commits
No commits in common. "cd4ab8ad464b3b9b602baabfb66f17bec3447a45" and "291a4a6cd218410fa0742d63917091b490857963" have entirely different histories.
cd4ab8ad46
...
291a4a6cd2
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
.mypy_cache/
|
||||
__pycache__
|
14
README.md
14
README.md
|
@ -31,7 +31,7 @@ script sends an email notification.
|
|||
4. Set up a cron job to run the script periodically. For example, to run it every hour:
|
||||
|
||||
```bash
|
||||
0 * * * * /usr/bin/python3 /path/to/conference-check/check.py
|
||||
0 * * * * /usr/bin/python3 /path/to/conference-check/script.py
|
||||
```
|
||||
|
||||
## Script Description
|
||||
|
@ -52,20 +52,12 @@ You can customize the script further by modifying the following:
|
|||
- `not_here_list`: Add or remove messages that indicate the website is not live.
|
||||
- `AGENT` and `headers`: Modify the user-agent and headers used for HTTP requests.
|
||||
|
||||
### How to Run
|
||||
|
||||
To execute the script manually, run the following command:
|
||||
|
||||
```bash
|
||||
/usr/bin/python3 /path/to/conference-check/check.py
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
To add a conference to the `conferences` list, use the following format:
|
||||
Here's an example of how to add a conference to the `conferences` list:
|
||||
|
||||
```python
|
||||
("Example Conference", "https://example-conference.com/2024/")
|
||||
("Example Conference", "https://example-conference.com/")
|
||||
```
|
||||
|
||||
## License
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
requests
|
Loading…
Reference in a new issue