├── requirements.txt ├── templates ├── sub_date.html ├── subs_page.html ├── sub_dates_list.html └── post_template.html ├── README.md ├── static └── style.css ├── Flask-Host.py └── Post-Archiver.py /requirements.txt: -------------------------------------------------------------------------------- 1 | Flask==0.12.2 2 | natsort==5.1.0 3 | requests==2.18.4 -------------------------------------------------------------------------------- /templates/sub_date.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |)+'>'
70 | images = []
71 | for a in os.listdir('static/images/{}/'.format(sub)):
72 | if id in a:
73 | if os.path.isdir('static/images/{}/{}'.format(sub, a)):
74 | for b in natsorted(os.listdir('static/images/{}/{}'.format(sub, a))):
75 | if b.endswith(tuple(['.jpg', '.png', '.gif', '.jpeg'])):
76 | images.append('<img src=)
'.format(comment_author, comment_score)+comment_html+'