./tshirt.py
Enter relay search-query : E856ABA2020AA9C483CC2D9B4C878D8D948B0887
Fetched bandwidth document
Fetched uptime document
Fetched details document
=================================================================
Relay details
-------------
Fingerprint : E856ABA2020AA9C483CC2D9B4C878D8D948B0887
First seen at least 2 months ago : True
Exit to port 80 allowed : False
Uptime percentage in past 2 months : 100.0
Average bandwidth in past 2 months : 443.31KBytes/s
Eligibility
------------
Not eligible for T-shirt
Reason : Average bandwidth less than 500KBytes/s and port 80 blocked
Can't get it to work, this is the output: python tshirt.py Enter relay search-query : E856ABA2020AA9C483CC2D9B4C878D8D948B0887 Fetched bandwidth document Fetched uptime document Fetched details document Traceback (most recent call last): File "tshirt.py", line 197, in <module> check_tshirt(search_query) File "tshirt.py", line 181, in check_tshirt first_seen_check = check_first_seen(details_data[i]) File "tshirt.py", line 132, in check_first_seen return (today - first_seen).total_seconds() >= TWO_MONTHS AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds' Alan
-- Petrusko C0BF 2184 4A77 4A18 90E9 F72C B3CA E665 EBE2 3AE5