phub 4.7.9__tar.gz → 4.8.0__tar.gz
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.
- {phub-4.7.9 → phub-4.8.0}/PKG-INFO +1 -1
- {phub-4.7.9 → phub-4.8.0}/pyproject.toml +1 -1
- {phub-4.7.9 → phub-4.8.0}/src/phub/modules/parser.py +1 -2
- {phub-4.7.9 → phub-4.8.0}/src/phub/objects/query.py +1 -1
- {phub-4.7.9 → phub-4.8.0}/src/phub.egg-info/PKG-INFO +1 -1
- {phub-4.7.9 → phub-4.8.0}/LICENSE +0 -0
- {phub-4.7.9 → phub-4.8.0}/README.md +0 -0
- {phub-4.7.9 → phub-4.8.0}/pypi.md +0 -0
- {phub-4.7.9 → phub-4.8.0}/setup.cfg +0 -0
- {phub-4.7.9 → phub-4.8.0}/setup.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/__init__.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/__main__.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/consts.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/core.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/errors.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/literals.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/modules/__init__.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/modules/display.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/modules/rss.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/objects/__init__.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/objects/account.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/objects/data.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/objects/feed.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/objects/image.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/objects/playlist.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/objects/user.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/objects/video.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/tests/__init__.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/tests/test_auth.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/tests/test_model.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/tests/test_playlist.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/tests/test_search.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/tests/test_video.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub/utils.py +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub.egg-info/SOURCES.txt +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub.egg-info/dependency_links.txt +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub.egg-info/entry_points.txt +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub.egg-info/requires.txt +0 -0
- {phub-4.7.9 → phub-4.8.0}/src/phub.egg-info/top_level.txt +0 -0
|
@@ -79,8 +79,7 @@ def challenge(client: Client, challenge: str, token: str) -> None:
|
|
|
79
79
|
|
|
80
80
|
# Build and inject cookie
|
|
81
81
|
cookie = f'{n}*{p // n}:{s}:{token}:1'
|
|
82
|
-
client.core.config.cookies = {'KEY'
|
|
82
|
+
client.core.config.cookies = {'KEY': cookie}
|
|
83
83
|
client.core.update_cookies()
|
|
84
84
|
logger.info('Injected cookie %s', cookie)
|
|
85
|
-
print("Injected cookie for authentication")
|
|
86
85
|
# EOF
|
|
@@ -184,7 +184,7 @@ class Query:
|
|
|
184
184
|
|
|
185
185
|
assert isinstance(index, int)
|
|
186
186
|
url = self.url.format(page = index + 1)
|
|
187
|
-
req = self.client.call(url, get_response=True)
|
|
187
|
+
req = self.client.call(url, get_response=True, throw=False)
|
|
188
188
|
|
|
189
189
|
if req.status_code == 404:
|
|
190
190
|
raise errors.NoResult()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|