disable yandex music + set utf8 encoding (#562)

* Update report.py

* Update data.json

* Update data.json
This commit is contained in:
fen0s
2022-07-26 02:37:26 +03:00
committed by GitHub
parent ce062d915e
commit 20746a0fc3
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ def save_txt_report(filename: str, username: str, results: dict):
def save_html_report(filename: str, context: dict): def save_html_report(filename: str, context: dict):
template, _ = generate_report_template(is_pdf=False) template, _ = generate_report_template(is_pdf=False)
filled_template = template.render(**context) filled_template = template.render(**context)
with open(filename, "w") as f: with open(filename, "w", encoding="utf-8") as f:
f.write(filled_template) f.write(filled_template)
-1
View File
@@ -18182,7 +18182,6 @@
"headers": { "headers": {
"Referer": "https://music.yandex.ru/users/test/playlists" "Referer": "https://music.yandex.ru/users/test/playlists"
}, },
"urlProbe": "https://music.yandex.ru/handlers/library.jsx?owner={username}",
"checkType": "status_code", "checkType": "status_code",
"alexaRank": 50, "alexaRank": 50,
"urlMain": "https://music.yandex.ru/", "urlMain": "https://music.yandex.ru/",