Skip to content

Commit

Permalink
Update run.yml
Browse files Browse the repository at this point in the history
Update domains_banking.list
  • Loading branch information
misha-tgshv authored Feb 19, 2025
1 parent 07cb58f commit 0787624
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,15 @@ jobs:
- name: Создаем файл domains_banking.list
run: |
curl -s https://www.cbr.ru/banking_sector/credit/cowebsites/ | grep -oP 'href="\K[^"]+' | grep '^http' > domains_banking.list
curl -s https://www.cbr.ru/banking_sector/credit/cowebsites/ | \
grep -oP 'href="\K[^"]+' | \
grep '^http' | \
# Удаляем нежелательные строки
sed -E '/(t\.me|vk\.com|ok\.ru|telegram|dzen|twitter|youtube)/d' | \
# Удаляем https:// в начале строки
sed 's/^https:\/\///' | \
# Добавляем DOMAIN-SUFFIX в начало строки
sed 's/^/DOMAIN-SUFFIX,/' > domains_banking.list
- name: Перемещаем файлы в директорю rules
run: |
Expand Down

0 comments on commit 0787624

Please sign in to comment.