|
|
@@ -151,8 +151,11 @@ def get_info_hash(fp): |
|
|
|
|
|
|
|
def print_files(fp): |
|
|
|
o = bdecode(fp) |
|
|
|
for f in o['info']['files']: |
|
|
|
print('/'.join(f['path'])) |
|
|
|
if 'files' in o['info']: |
|
|
|
for f in o['info']['files']: |
|
|
|
print('/'.join(f['path'])) |
|
|
|
else: |
|
|
|
print(o['info']['name']) |
|
|
|
|
|
|
|
|
|
|
|
def main(): |
|
|
|