mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 22:19:01 +00:00
disable yandex music + set utf8 encoding (#562)
* Update report.py * Update data.json * Update data.json
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ def save_txt_report(filename: str, username: str, results: dict):
|
||||
def save_html_report(filename: str, context: dict):
|
||||
template, _ = generate_report_template(is_pdf=False)
|
||||
filled_template = template.render(**context)
|
||||
with open(filename, "w") as f:
|
||||
with open(filename, "w", encoding="utf-8") as f:
|
||||
f.write(filled_template)
|
||||
|
||||
|
||||
|
||||
@@ -18182,7 +18182,6 @@
|
||||
"headers": {
|
||||
"Referer": "https://music.yandex.ru/users/test/playlists"
|
||||
},
|
||||
"urlProbe": "https://music.yandex.ru/handlers/library.jsx?owner={username}",
|
||||
"checkType": "status_code",
|
||||
"alexaRank": 50,
|
||||
"urlMain": "https://music.yandex.ru/",
|
||||
|
||||
Reference in New Issue
Block a user