Minor formatting cleanup
This commit is contained in:
1 parent
1166170fae
commit
aa8438da17
1 file changed
+1
-3
+1
-3
@@ -285,9 +285,7 @@ class Channel:
|
|||||||
|
|
||||||
For mobile view, spade_url is available immediately from the page, skipping step #2.
|
For mobile view, spade_url is available immediately from the page, skipping step #2.
|
||||||
"""
|
"""
|
||||||
SETTINGS_PATTERN: str = (
|
SETTINGS_PATTERN: str = r'src="(https://[\w.]+/config/settings\.[0-9a-f]{32}\.js)"'
|
||||||
r'src="(https://[\w.]+/config/settings\.[0-9a-f]{32}\.js)"'
|
|
||||||
)
|
|
||||||
# NOTE: "beacon" appears in the file first, so it's the most likely one to be matched.
|
# NOTE: "beacon" appears in the file first, so it's the most likely one to be matched.
|
||||||
SPADE_PATTERN: str = (
|
SPADE_PATTERN: str = (
|
||||||
r'"(?:beacon|spade)_?url": ?"(https://[.\w\-/]+\.ts(?:\?allow_stream=true)?)"'
|
r'"(?:beacon|spade)_?url": ?"(https://[.\w\-/]+\.ts(?:\?allow_stream=true)?)"'
|
||||||
|
|||||||
Reference in new issue
Block a user