This commit is contained in:
Aevann1 2022-03-19 16:06:21 +02:00
parent f0ede38f4b
commit f0cea3bb5d
8 changed files with 6 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -29,7 +29,7 @@ function loadEmojis(form) {
'flags': ['russia','niger','lgbt','saudi','animesexual','blacknation','blm','blueline','dreamgender','fatpride','incelpride','israel','kazakhstan','landlordlove','scalperpride','superstraight','trans','translord','transracial','usa'],
'wolf': ['wolfmarseymask','wolfputin','wolfpat','wolfpat2','wolfdrama','wolfcumjar','wolflgbt','wolfmarseyhead','wolfnoir','wolfsherifssmoking','wolftrans','wolfvaporwave','wolfangry','wolfbrains','wolfcry','wolfdead','wolfdevilish','wolffacepalm','wolfhappy','wolfidea','wolfkoala','wolflaugh','wolflove','wolfmeditate','wolfphone','wolfrainbow','wolfroses','wolfsad','wolfsfear','wolfsleep','wolftear','wolfthink','wolfthumbsup','wolfupsidedown','wolfvictory','wolfwave','wolfwink'],
'wolf': ['wolfromulusremus','wolfrope','wolftinfoil','wolfmarseymask','wolfputin','wolfpat','wolfpat2','wolfdrama','wolfcumjar','wolflgbt','wolfmarseyhead','wolfnoir','wolfsherifssmoking','wolftrans','wolfvaporwave','wolfangry','wolfbrains','wolfcry','wolfdead','wolfdevilish','wolffacepalm','wolfhappy','wolfidea','wolfkoala','wolflaugh','wolflove','wolfmeditate','wolfphone','wolfrainbow','wolfroses','wolfsad','wolfsfear','wolfsleep','wolftear','wolfthink','wolfthumbsup','wolfupsidedown','wolfvictory','wolfwave','wolfwink'],
'misc': ['kippypat','yotsubafish','yotsubalol','sigmatalking','zoroarkconfused','zoroarkhappy','zoroarkpout','zoroarksleepy','casanovanova','deuxwaifu','flairlessmong','hardislife','redditgigachad','rfybear','etika','sneed','retardedchildren','bruh','autism','doot','kylieface','queenyes','wholesomeseal','chadyescapy','gigachadglow','gigachadorthodox','gigachad','gigachad2','gigachad3']
}

View file

@ -32,7 +32,7 @@ def fix(v):
if num: li = li[:int(num)]
for post in li:
print(post.id, flush=True)
try: req = requests.get(f"https://web.archive.org/{post.url}", timeout=5)
try: req = requests.get(f"https://web.archive.org/{post.url}", timeout=1)
except: continue
if str(req) == '<Response [200]>':
print(post.url, flush=True)
@ -40,7 +40,8 @@ def fix(v):
post.thumburl = post.url
print(post.permalink, flush=True)
g.db.add(post)
g.db.commit()
try: g.db.commit()
except: continue
return 'sex'
@app.post('/admin/merge/<id1>/<id2>')

View file

@ -94,4 +94,4 @@
</div>
</div>
<script src="/static/assets/js/emoji_modal.js?v=259"></script>
<script src="/static/assets/js/emoji_modal.js?v=260"></script>

View file

@ -4,7 +4,7 @@
{% set image=sub.sidebar_url %}
{% else %}
{% set path = "assets/images/" + SITE_NAME + "/sidebar" %}
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?v=34' %}
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?v=35' %}
{% endif %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>