from steam.client import SteamClient
from steam.client.cdn import CDNClient
s = SteamClient()
s.anonymous_login()
cdn = CDNClient(s)
cdn.get_manifests(730)
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/steam/client/cdn.py", line 785, in async_fetch_manifest
app_id, depot_id, int(manifest_gid), branch_name, branch_pass
TypeError: int() argument must be a string, a bytes-like object or a number, not 'dict'
It's because the manifest object is a dict (I suppose steam must have changed it):
from steam.client import SteamClient
from steam.client.cdn import CDNClient
s = SteamClient()
s.anonymous_login()
cdn = CDNClient(s)
depot_info = cdn.get_app_depot_info(730)
print(depot_info[str(2347770)]['manifests']['public'])
Hello,
I got an exception on
get_manifests
:It's because the manifest object is a dict (I suppose steam must have changed it):
This pull requests fixes it by adding
.get('gid')
in the relevant code.Thanks for the project and library! I started using it and I like the API, very short, intuitive, easier to play with than SteamKit/C#.