We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b264e71 commit 717932aCopy full SHA for 717932a
.github/workflows/save.yaml
@@ -1,7 +1,7 @@
1
name: Save latest data
2
on:
3
schedule:
4
- - cron: 45 15 * * *
+ - cron: 50 16 * * 1-5
5
jobs:
6
build:
7
runs-on: ubuntu-latest
main.py
@@ -4,10 +4,10 @@
import codecs
import pandas as pd
from bs4 import BeautifulSoup
-from datetime import datetime, timedelta
+from datetime import datetime
8
9
urlpath = "https://cbr.ru/vfs/mcirabis/BIKNew/"
10
-filename = (datetime.now() - timedelta(days=2)).strftime('%Y%m%d') + "ED01OSBR.zip"
+filename = datetime.now().strftime('%Y%m%d') + "ED01OSBR.zip"
11
outdir = "output/"
12
outzip = outdir + filename
13
0 commit comments