Merge pull request #161 from soxoj/xmind-report-fix

XMind report generation fix
This commit is contained in:
soxoj
2021-05-25 23:16:28 +03:00
committed by GitHub
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -342,8 +342,10 @@ def design_xmind_sheet(sheet, username, results):
for website_name in results: for website_name in results:
dictionary = results[website_name] dictionary = results[website_name]
if not dictionary:
continue
result_status = dictionary.get("status") result_status = dictionary.get("status")
if result_status.status != QueryStatus.CLAIMED: if not result_status or result_status.status != QueryStatus.CLAIMED:
continue continue
stripped_tags = list(map(lambda x: x.strip(), result_status.tags)) stripped_tags = list(map(lambda x: x.strip(), result_status.tags))
+3 -3
View File
@@ -13035,7 +13035,7 @@
"us" "us"
], ],
"headers": { "headers": {
"authorization": "Bearer BQByrCKSP2EVMFJjCO-4jdyVPu3jbr_PbMVd81u1MdGRPHOPIdLTUZDLgoHDKhIMrK0HCShUA4QNfSHxv4o" "authorization": "Bearer BQB2-7eTXELo9F-na1La0I286JG5MpvElF5fQE_teYchfGXgxlVCie_wD4tGR7b6XedgiH7cOQY_PG4YC5Y"
}, },
"errors": { "errors": {
"Spotify is currently not available in your country.": "Access denied in your country, use proxy/vpn" "Spotify is currently not available in your country.": "Access denied in your country, use proxy/vpn"
@@ -14463,7 +14463,7 @@
"sec-ch-ua": "Google Chrome\";v=\"87\", \" Not;A Brand\";v=\"99\", \"Chromium\";v=\"87\"", "sec-ch-ua": "Google Chrome\";v=\"87\", \" Not;A Brand\";v=\"99\", \"Chromium\";v=\"87\"",
"authorization": "Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA", "authorization": "Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36", "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
"x-guest-token": "1396424501630488578" "x-guest-token": "1397282274475978756"
}, },
"errors": { "errors": {
"Bad guest token": "x-guest-token update required" "Bad guest token": "x-guest-token update required"
@@ -14870,7 +14870,7 @@
"video" "video"
], ],
"headers": { "headers": {
"Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MjE3Njk0NjAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.oKn3XeDZNA6uSPJ0_5Ca6Tt3_sShi4FEk1IdXBTc_Uo" "Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MjE5NzM5NDAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.te2LwkItSxRZMIfFYGRKj5ZUpyZaCIgnBpxgfjT2RTA"
}, },
"activation": { "activation": {
"url": "https://vimeo.com/_rv/viewer", "url": "https://vimeo.com/_rv/viewer",