quasarr 1.20.0__py3-none-any.whl → 1.20.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of quasarr might be problematic. Click here for more details.
- quasarr/api/captcha/__init__.py +9 -5
- quasarr/providers/version.py +1 -1
- {quasarr-1.20.0.dist-info → quasarr-1.20.1.dist-info}/METADATA +1 -1
- {quasarr-1.20.0.dist-info → quasarr-1.20.1.dist-info}/RECORD +8 -8
- {quasarr-1.20.0.dist-info → quasarr-1.20.1.dist-info}/WHEEL +0 -0
- {quasarr-1.20.0.dist-info → quasarr-1.20.1.dist-info}/entry_points.txt +0 -0
- {quasarr-1.20.0.dist-info → quasarr-1.20.1.dist-info}/licenses/LICENSE +0 -0
- {quasarr-1.20.0.dist-info → quasarr-1.20.1.dist-info}/top_level.txt +0 -0
quasarr/api/captcha/__init__.py
CHANGED
|
@@ -80,10 +80,14 @@ def setup_captcha_routes(app):
|
|
|
80
80
|
|
|
81
81
|
encoded_payload = urlsafe_b64encode(json.dumps(payload).encode()).decode()
|
|
82
82
|
|
|
83
|
-
sj =
|
|
84
|
-
dj =
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
sj = shared_state.values["config"]("Hostnames").get("sj")
|
|
84
|
+
dj = shared_state.values["config"]("Hostnames").get("dj")
|
|
85
|
+
has_junkies_links = any(
|
|
86
|
+
(sj and sj in link) or (dj and dj in link)
|
|
87
|
+
for link in prioritized_links
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
if has_junkies_links:
|
|
87
91
|
debug("Redirecting to Junkies CAPTCHA")
|
|
88
92
|
redirect(f"/captcha/junkies?data={quote(encoded_payload)}")
|
|
89
93
|
elif filecrypt_session:
|
|
@@ -601,7 +605,7 @@ def setup_captcha_routes(app):
|
|
|
601
605
|
.then(data => {
|
|
602
606
|
if (data.success) {
|
|
603
607
|
document.getElementById("captcha-key").insertAdjacentHTML('afterend',
|
|
604
|
-
'<p
|
|
608
|
+
'<p>✅ Successful!</p>');
|
|
605
609
|
} else {
|
|
606
610
|
document.getElementById("captcha-key").insertAdjacentHTML('afterend',
|
|
607
611
|
'<p>Failed. Check console for details!</p>');
|
quasarr/providers/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
quasarr/__init__.py,sha256=_WoDFvqXXilQynsiPrY-SXyADy1OwhAjQkdaJFqqHo0,17873
|
|
2
2
|
quasarr/api/__init__.py,sha256=9Y_DTNYsHeimrXL3mAli8OUg0zqo7QGLF2ft40d3R-c,6822
|
|
3
3
|
quasarr/api/arr/__init__.py,sha256=HrzyavxsCmQkdV2SMqQSoJq3KgrsPBnQJdo5iyovmG8,16626
|
|
4
|
-
quasarr/api/captcha/__init__.py,sha256=
|
|
4
|
+
quasarr/api/captcha/__init__.py,sha256=2qlcJn_Kp_PWP8-_MJvIlPkRlZitH4B58QbdcFZ6xqU,49765
|
|
5
5
|
quasarr/api/config/__init__.py,sha256=0K7zqC9dt39Ul1RIJt0zNVdh1b9ARnfC6QFPa2D9FCw,819
|
|
6
6
|
quasarr/api/sponsors_helper/__init__.py,sha256=kAZabPlplPYRG6Uw7ZHTk5uypualwvhs-NoTOjQhhhA,6369
|
|
7
7
|
quasarr/api/statistics/__init__.py,sha256=NrBAjjHkIUE95HhPUGIfNqh2IqBqJ_zm00S90Y-Qnus,7038
|
|
@@ -37,7 +37,7 @@ quasarr/providers/notifications.py,sha256=bohT-6yudmFnmZMc3BwCGX0n1HdzSVgQG_LDZm
|
|
|
37
37
|
quasarr/providers/obfuscated.py,sha256=YydQJHrZ485pHaXK0DHHRW3eLZygGr6c0xnUKD6mcCE,236502
|
|
38
38
|
quasarr/providers/shared_state.py,sha256=4nswf5AuA4c1DWqSXsX0HXwlDt5e-UUUvQSy-vryCRE,28987
|
|
39
39
|
quasarr/providers/statistics.py,sha256=cEQixYnDMDqtm5wWe40E_2ucyo4mD0n3SrfelhQi1L8,6452
|
|
40
|
-
quasarr/providers/version.py,sha256=
|
|
40
|
+
quasarr/providers/version.py,sha256=x-0kcMQZOwdQdDiZmiNTCq12f9Ta4T1Z1h2WJo9A89I,4004
|
|
41
41
|
quasarr/providers/web_server.py,sha256=XPj98T-axxgotovuB-rVw1IPCkJiNdXBlEeFvM_zSlM,1432
|
|
42
42
|
quasarr/providers/sessions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
43
|
quasarr/providers/sessions/al.py,sha256=mlP6SWfCY2HyOSV40uyotQ5T4eSBNYG9A5GWOEAdz-c,9589
|
|
@@ -64,9 +64,9 @@ quasarr/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
64
64
|
quasarr/storage/config.py,sha256=a0JAeiSqMQYBvfZTyYtOxDZvuLGP5lZhMHb7nX9azPc,6130
|
|
65
65
|
quasarr/storage/setup.py,sha256=gpHOsc5qtt-M72saZoMJFLE2YlCrjv7FWZknh-iVKsk,17766
|
|
66
66
|
quasarr/storage/sqlite_database.py,sha256=yMqFQfKf0k7YS-6Z3_7pj4z1GwWSXJ8uvF4IydXsuTE,3554
|
|
67
|
-
quasarr-1.20.
|
|
68
|
-
quasarr-1.20.
|
|
69
|
-
quasarr-1.20.
|
|
70
|
-
quasarr-1.20.
|
|
71
|
-
quasarr-1.20.
|
|
72
|
-
quasarr-1.20.
|
|
67
|
+
quasarr-1.20.1.dist-info/licenses/LICENSE,sha256=QQFCAfDgt7lSA8oSWDHIZ9aTjFbZaBJdjnGOHkuhK7k,1060
|
|
68
|
+
quasarr-1.20.1.dist-info/METADATA,sha256=i35trsO90WS0FAuMpjIJVON7x0mDxG5sIv2yQwWZVHQ,12249
|
|
69
|
+
quasarr-1.20.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
70
|
+
quasarr-1.20.1.dist-info/entry_points.txt,sha256=gXi8mUKsIqKVvn-bOc8E5f04sK_KoMCC-ty6b2Hf-jc,40
|
|
71
|
+
quasarr-1.20.1.dist-info/top_level.txt,sha256=dipJdaRda5ruTZkoGfZU60bY4l9dtPlmOWwxK_oGSF0,8
|
|
72
|
+
quasarr-1.20.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|