Files
twitch-miner/pickle_view.py
0815Cracky ff22f47b90 update
2024-02-27 11:46:37 +01:00

13 lines
330 B
Python

#!/usr/bin/env python
# Simple script to view contents of a cookie file stored in a pickle format
import pickle
import sys
if __name__ == '__main__':
argv = sys.argv
if len(argv) <= 1:
print("Specify a pickle file as a parameter, e.g. cookies/user.pkl")
else:
print(pickle.load(open(argv[1], 'rb')))