mirror of
https://github.com/alecmuffett/real-world-onion-sites.git
synced 2024-12-25 07:09:26 -05:00
index-stuff
This commit is contained in:
parent
f8d4896104
commit
1b4ccada9f
@ -254,14 +254,14 @@ def print_chunk(chunk, title, description=None, print_bar=True):
|
||||
for row in sort_using(chunk, 'site_name'):
|
||||
url = row['onion_url']
|
||||
padlock = EMOJI_HTTPS if url.startswith('https') else EMOJI_HTTP
|
||||
print(H3, '[{site_name}]({onion_url})'.format(**row), padlock)
|
||||
print(H3, '[{site_name}]({onion_url})'.format(**row))
|
||||
comment = get_placeholder(row, 'comment')
|
||||
if comment != '-': print('*{}*'.format(comment))
|
||||
# short name
|
||||
oname = row['onion_name']
|
||||
if oname != '': print(B, 'short: `{0}`'.format(oname))
|
||||
# linky-linky, with https-emoji
|
||||
print(B, 'link: [{0}]({0})'.format(url))
|
||||
print(B, 'link: [{0}]({0})'.format(url), padlock)
|
||||
# apparently some people like copying and pasting plain text
|
||||
print(B, 'plain: `{0}`'.format(url))
|
||||
# print proof unconditionally, as encouragement to fix it
|
||||
|
Loading…
Reference in New Issue
Block a user