update README

This commit is contained in:
2025-08-12 10:42:24 +03:00
parent 2976027757
commit c9f3c09fdd
+1 -5
View File
@@ -214,12 +214,8 @@ async def get_file_information():
# Get file information # Get file information
file_hash = "FILE_HASH_TO_GET_INFO" # Replace with the actual file hash file_hash = "FILE_HASH_TO_GET_INFO" # Replace with the actual file hash
try:
file = await client.get_file(file_hash) file = await client.get_file(file_hash)
print(
f"File Hash: {file.hash}, Name: {file.name}, Size: {file.size}, URL: {file.url}, Downloads: {file.downloads}")
except FileExistsError as e:
print(e)
asyncio.run(get_file_information()) asyncio.run(get_file_information())