forked from rDrama/rDrama
master
parent
d597ffe198
commit
1d5e29223d
|
@ -6,7 +6,7 @@ from files.classes.submission import Submission
|
||||||
|
|
||||||
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "day").strip()
|
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "day").strip()
|
||||||
|
|
||||||
class Dict2Class(object):
|
class Post(object):
|
||||||
|
|
||||||
def __init__(self, my_dict):
|
def __init__(self, my_dict):
|
||||||
|
|
||||||
|
@ -19,12 +19,16 @@ def marseyverse(v):
|
||||||
count = 0
|
count = 0
|
||||||
drama = requests.get("https://rdrama.net/", headers={"Authorization": "sex"}).json()["data"]
|
drama = requests.get("https://rdrama.net/", headers={"Authorization": "sex"}).json()["data"]
|
||||||
pcm = requests.get("https://pcmemes.net/", headers={"Authorization": "sex"}).json()["data"]
|
pcm = requests.get("https://pcmemes.net/", headers={"Authorization": "sex"}).json()["data"]
|
||||||
|
gigachad = requests.get("https://gigachadlife.com/", headers={"Authorization": "sex"}).json()["data"]
|
||||||
|
weebzone = requests.get("https://weebzone.xyz/", headers={"Authorization": "sex"}).json()["data"]
|
||||||
|
|
||||||
|
listing = []
|
||||||
|
|
||||||
while count < 25:
|
while count < 25:
|
||||||
listing = []
|
for site in [drama,pcm,gigachad,weebzone]:
|
||||||
for sex in data:
|
listing.append(Post(site[count]))
|
||||||
sex = data[0]
|
count += 1
|
||||||
listing.append(Dict2Class(sex))
|
|
||||||
return render_template("marseyverse.html", v=v, listing=listing)
|
return render_template("marseyverse.html", v=v, listing=listing)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue