Skip to content

Commit

Permalink
Updated Reddit
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymousRandomPerson committed Jul 15, 2024
1 parent 188a5d9 commit a0e0b89
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions data/read-ids.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7186,3 +7186,5 @@
1dmxgwn
1dp5ghj
1dps0t4
1e24aqx
1e3ql1b
8 changes: 4 additions & 4 deletions tools/redditcrawl.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from aformatter import format_all, validate
from pathlib import Path
import humanize
from datetime import datetime
from datetime import datetime, UTC
import os

while not os.path.exists('README.md'):
Expand Down Expand Up @@ -87,7 +87,7 @@ def set_flair(submission, flair):
for submission in reddit.subreddit('placeAtlas2023').new(limit=1000):
total_all_flairs += 1

print(f"{submission.id}: Submitted {humanize.naturaltime(datetime.utcnow() - datetime.utcfromtimestamp(submission.created_utc))}.")
print(f"{submission.id}: Submitted {humanize.naturaltime(datetime.now(UTC) - datetime.fromtimestamp(submission.created_utc, UTC))}.")

# print(patches_dir + 'reddit-' + submission.id + '.json')
if submission.id in existing_ids or Path(patches_dir + 'reddit-' + submission.id + '.json').is_file():
Expand Down Expand Up @@ -123,7 +123,7 @@ def set_flair(submission, flair):
assert submission_json["id"] != -1, "Edit invalid because ID is tampered, it must not be -1!"
else:
assert submission_json["id"] == -1, "Addition invalid because ID is tampered, it must be -1!"

submission_json_dummy = {"id": submission_json["id"], "_reddit_id": submission.id, "_author": submission.author.name}

for key in submission_json:
Expand All @@ -134,7 +134,7 @@ def set_flair(submission, flair):

assert validation_status < 3, \
"Submission invalid after validation. This may be caused by not enough points on the path."

with open(f'{patches_dir}reddit-{submission.id}-{"-".join(submission.name.split()).lower()}.json', 'w', encoding='utf-8') as out_file:
out_file.write(json.dumps(submission_json, ensure_ascii=False))

Expand Down
1 change: 1 addition & 0 deletions web/all-authors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2831,3 +2831,4 @@ Dungarth
MixerBlaze
CamCamDaMann
MrPeter_PT
flysword09
9 changes: 5 additions & 4 deletions web/atlas.json
Original file line number Diff line number Diff line change
Expand Up @@ -3517,7 +3517,7 @@
{"id": 3708, "name": "Ganqing Yuri", "description": "Ganqing is a popular lesbian Genshin Impact ship between \"Ganyu\" and \"Keqing\"\n\n\"Yuri\" is a genre of Japanese comics, animation, and related media focusing on lesbian themes and content.", "links": {"subreddit": ["Ganqing"], "discord": ["vcPZSuMNBv"]}, "path": {"253-258": [[-1497, 230], [-1473, 230], [-1470, 232], [-1469, 258], [-1497, 258], [-1497, 230], [-1500, 233]]}, "center": {"253-258": [-1483, 244]}},
{"id": 3709, "name": "Tumblurr + ZUGU", "description": "Tumblurr is an Italian streamer. Late in r/place, in retaliation against a battle with the Destiny MelW art piece the name was changed to cumslurr", "links": {"website": ["https://www.twitch.tv/tumblurr"], "subreddit": ["LaStalla"]}, "path": {"T": [[895, 898], [895, 999], [1005, 999], [1005, 964], [1004, 963], [1004, 925], [1002, 923], [1002, 898]], "205-258": [[896, 898], [896, 1000], [1002, 999], [1002, 898]]}, "center": {"T": [950, 949], "205-258": [949, 949]}},
{"id": 3710, "name": "Kanade Yoisaki", "description": "Kanade Yoisaki from the rhythm game Project Sekai (or ColorfulStage). It was created by one user, not a community.", "links": {"website": ["https://www.colorfulstage.com/"], "subreddit": ["projectsekai"]}, "path": {"252": [[1229, 347], [1234, 344], [1239, 344], [1242, 346], [1240, 349], [1238, 351], [1242, 348], [1242, 350], [1242, 358], [1230, 358], [1231, 357], [1231, 356], [1231, 355], [1230, 354], [1229, 353], [1229, 351], [1229, 350], [1229, 351]]}, "center": {"252": [1234, 350]}},
{"id": 3711, "name": "PumpItUp arrow", "description": "Pump It Up (Korean: 펌프 잇 업; RR: Peompeu it eop) is a music game series developed and published by Andamiro, a Korean arcade game producer. Overlord people placed this Pump It Up arrow near the end of r/place as a tribute to their allies from Pump It Up and as a symbol of their successful alliance.", "links": {"subreddit": ["PumpItUp"]}, "path": {"250-256, T": [[631, 952], [632, 952], [632, 953], [631, 953], [631, 952], [632, 953], [632, 952], [632, 953]]}, "center": {"250-256, T": [631, 953]}},
{"id": 3711, "name": "PumpItUp arrow", "description": "Pump It Up (Korean: 펌프 잇 업; RR: Peompeu it eop) is a music game series developed and published by Andamiro, a Korean arcade game producer. Overlord people placed this Pump It Up arrow near the end of r/place as a tribute to their allies from Pump It Up and as a symbol of their successful alliance.", "links": {"subreddit": ["PumpItUp"]}, "path": {"250-258, T": [[631, 952], [632, 952], [632, 953], [631, 953], [631, 952], [632, 953], [632, 952], [632, 953]]}, "center": {"250-258, T": [631, 953]}},
{"id": 3712, "name": "xfarganx Cubito", "description": "Cubito de Minecraft de xfarganx, un creador de contenido de YouTube", "links": {"website": ["https://youtube.com/@xFaRgAnx"]}, "path": {"250-258, T": [[110, 597], [110, 598], [110, 614], [125, 614], [127, 597]]}, "center": {"250-258, T": [118, 606]}},
{"id": 3713, "name": "France - Peace flag", "description": "This was a flag that was worked on by some French people and r/twentyonepilots in an act of alliance", "links": {}, "path": {"241-258, T": [[-1391, 291], [-1390, 294], [-1391, 290], [-1390, 290], [-1392, 289], [-1393, 288], [-1391, 288], [-1393, 288], [-1393, 289], [-1393, 288], [-1393, 290], [-1393, 291], [-1393, 293], [-1393, 294], [-1392, 296], [-1392, 298], [-1391, 298], [-1389, 298], [-1387, 298], [-1385, 298], [-1375, 298], [-1374, 289], [-1375, 288], [-1384, 288], [-1388, 288], [-1390, 289]]}, "center": {"241-258, T": [-1383, 293]}},
{"id": 3714, "name": "HYBE K-Pop Artist Corner", "description": "This block included most of the groups under the South Korean label HYBE Entertainent.\nThe groups included were: Seventeen, TXT, Enhypen, NewJeans, fromis_9, Le Sserafim, BoyNextDoor, and &Team. Each of the groups are working hard and each making their impact on the K-pop industry in their own incredible ways and us fans wanted to honor them by building this area on r/place for them!", "links": {}, "path": {"250-258, T": [[375, -839], [401, -839], [401, -831], [393, -831], [393, -818], [390, -818], [390, -796], [369, -796], [369, -802], [370, -802], [370, -803], [371, -803], [371, -804], [373, -804], [373, -805], [374, -805], [374, -806], [375, -806]]}, "center": {"250-258, T": [384, -829]}},
Expand Down Expand Up @@ -4083,7 +4083,7 @@
{"id": 4291, "name": "Freminet's Penguin", "description": "Freminet is character from the Fontaine region in the game, Genshin Impact. He has a cute mechanical penguin companion!", "links": {"subreddit": ["lyney", "Freminetmains_"]}, "path": {"250-258, T": [[-354, 688], [-355, 690], [-355, 697], [-352, 697], [-352, 693], [-352, 692], [-351, 692], [-351, 690], [-350, 690], [-350, 689], [-351, 689], [-351, 688], [-352, 687], [-354, 687], [-355, 688], [-355, 691]]}, "center": {"250-258, T": [-353, 690]}},
{"id": 4292, "name": "Steiff Teddy Bear", "description": "Steiff is a German-based plush toy company, that claims to have have made the world's first factory-made teddy bear", "links": {"website": ["https://en.wikipedia.org/wiki/Steiff"], "subreddit": ["placeDE"]}, "path": {"250-258, T": [[187, -551], [217, -551], [217, -566], [212, -572], [212, -579], [215, -582], [215, -590], [210, -590], [208, -587], [191, -587], [192, -571], [187, -568]]}, "center": {"250-258, T": [202, -564]}},
{"id": 4293, "name": "Winged Pikmin", "description": "A Pikmin within the Pikmin series who, as the name implies, has the ability to fly. The art expresses the alliance between r/Pikmin and the Blue Square.", "links": {"subreddit": ["Pikmin"]}, "path": {"160-258, T": [[295, -884], [303, -884], [303, -890], [300, -891], [302, -894], [300, -896], [295, -890]]}, "center": {"160-258, T": [299, -888]}},
{"id": 4294, "name": "Logo of the IBS IT & Business School Oldenburg", "description": "Represents the logo of IBS IT & Business School Oldenburg, a private university specializing in dual study programs. The logo was drawn by the business informatics students of the class of 2020.", "links": {"website": ["https://www.ibs-ol.de"]}, "path": {"189-258, T": [[-179, -971], [-169, -971], [-160, -979], [-167, -989], [-175, -983], [-179, -982], [-183, -979], [-183, -974]]}, "center": {"189-258, T": [-171, -978]}},
{"id": 4294, "name": "IBS IT & Business School Oldenburg", "description": "Represents the logo of IBS IT & Business School Oldenburg, a private university specializing in dual-study programs.\n\nThis logo was drawn on r/place by the business informatics students of the class of 2020.", "links": {"website": ["https://www.ibs-ol.de"]}, "path": {"187-258, T": [[-172, -986], [-169, -986], [-168, -985], [-165, -985], [-162, -981], [-162, -977], [-166, -977], [-166, -975], [-170, -971], [-178, -971], [-182, -975], [-182, -979], [-178, -983], [-170, -983], [-172, -985]]}, "center": {"187-258, T": [-175, -977]}},
{"id": 4295, "name": "Special Week", "description": "Special Week is based off on a real life Japanese Racehorse and is one of the three main protagonists of Uma Musume: Pretty Derby and the character used to promote Uma Musume as a whole.", "links": {"website": ["https://umamusume.fandom.com/wiki/Special_Week"], "subreddit": ["UmaMusume"], "discord": ["umamusume"]}, "path": {"46-258, T": [[-193, 203], [-195, 197], [-191, 187], [-188, 185], [-186, 179], [-175, 184], [-169, 185], [-168, 182], [-165, 182], [-165, 193], [-166, 210], [-173, 202], [-175, 203], [-181, 201], [-184, 202], [-186, 202], [-188, 200]]}, "center": {"46-258, T": [-181, 191]}},
{"id": 4296, "name": "Final Canvas Lewd Shego", "description": "Proudly and shamelessly depicted is the villain/antihero Shego from the Disney Channel series \"Kim Possible\" in a lewd pose and without any clothes. \n\nHer creation represented the 7th and final attempt to bring her on the canvas and would prove to be successful surviving until the great whiteout. \n\nAlthough originally slated to be a suggestive but SFW (safe for work) design, several random users would ultimately make her explicitly sexual in depiction. \n\nModerators of r/place were unwilling to delete her in entirety. Instead they would repeatedly censor her nipples and vagina. This resulted in a fierce 12 hour long battle of censorship against a rebellious user-base that valued freedom of expression. \n\nUltimately the coalition of Reddit users would overwhelm the censorship leading to it becoming one of the few explicitly sexual artworks to survive in r/place history.\n\nDespite the disorganized nature of her body, the head and hair were coordinated by the r/196x2 Discord server. Its members are a collection of users who either had initially worked on the 1st Shego led by streamers or joined during the later Shegos led and coordinated by the server.\n\nIn celebration of her successful placement, in the few remaining hours a crown would placed on her head as well as text depicting her name and subreddit. To most users amusement, in cooperation with a group of lesbian pride flag placers the phrase \"iS HOT\" follows.", "links": {"subreddit": ["shego"], "discord": ["Wcsya8Gh"]}, "path": {"226-258, T": [[-1402, 246], [-1402, 243], [-1403, 242], [-1403, 239], [-1402, 239], [-1401, 238], [-1401, 236], [-1402, 236], [-1402, 235], [-1406, 231], [-1406, 226], [-1406, 224], [-1405, 218], [-1394, 208], [-1406, 205], [-1406, 198], [-1355, 198], [-1355, 204], [-1380, 204], [-1380, 210], [-1374, 218], [-1371, 225], [-1362, 231], [-1362, 237], [-1370, 244], [-1373, 244], [-1371, 247], [-1374, 251], [-1377, 253], [-1371, 261], [-1369, 263], [-1372, 269], [-1373, 280], [-1371, 284], [-1374, 287], [-1376, 287], [-1381, 283], [-1381, 264], [-1383, 261], [-1384, 264], [-1387, 280], [-1386, 283], [-1390, 287], [-1394, 287], [-1395, 282], [-1396, 280], [-1393, 277], [-1395, 273], [-1396, 265], [-1392, 259]]}, "center": {"226-258, T": [-1388, 226]}},
{"id": 4297, "name": "The Puerto Rican Parrot", "description": "The Puerto Rican Amazon is a critically endangered bird that lives all throughout the Puerto Rican archipelago.", "links": {"website": ["https://en.wikipedia.org/wiki/Puerto_Rican_amazon"], "subreddit": ["PuertoRico"], "discord": ["EZ4C9FR3"]}, "path": {"173-258, T": [[161, -25], [159, -23], [162, -10], [171, -10], [169, -13], [169, -15], [164, -24], [163, -25]]}, "center": {"173-258, T": [165, -15]}},
Expand Down Expand Up @@ -6083,7 +6083,7 @@
{"id": 6325, "name": "Albedo", "description": "Albedo is a character from \"Overlord\"\n\nOriginally created by Kugane Maruyama as a Web Novel, he would later rewrite it as a Light Novel. From there, the Light Novel would later be adapted into a manga and an anime, with an animated movie to be released in the future.\n\nThis Pixel Art of Albedo has been adapted by !tsabrody from the first Ending sequence of \"Isekai Quartet\" on the Isekai Coalition Discord Server, and immortalized on the canvas through a collaborative effort of the Isekai Coalition Discord Server, and the Overlord subreddit.", "links": {"subreddit": ["overlord", "Isekai_Coalition"]}, "path": {"250-258, T": [[438, -963], [434, -964], [433, -970], [428, -969], [423, -961], [418, -960], [418, -946], [424, -939], [426, -935], [436, -934], [437, -938], [442, -936], [442, -941], [443, -946], [439, -951], [439, -958], [439, -960], [439, -963]]}, "center": {"250-258, T": [428, -951]}},
{"id": 6326, "name": "Tanya von Degurechaff", "description": "Tanya von Degurechaff is the protagonist of \"Saga of Tanya the Evil\"\n\nOriginally created by Carlo Zen as a Web Novel, it would later be adapted as a Light Novel. From there, the Light Novel would later be adapted into a manga and an anime, including an animated movie.\n\nThis Pixel Art of Tanya von Degurechaff has been adapted by !tsabrody and finalized by ImSamuka from the first Ending sequence of \"Isekai Quartet\" on the Isekai Coalition Discord Server, and immortalized on the canvas through a collaborative effort of the Isekai Coalition Discord Server, and the YoujoSenki subreddit.", "links": {"subreddit": ["YoujoSenki", "Isekai_Coalition"]}, "path": {"250-258, T": [[442, -968], [439, -967], [439, -962], [437, -957], [437, -956], [435, -956], [435, -954], [437, -953], [436, -952], [436, -951], [435, -950], [436, -949], [437, -948], [438, -947], [440, -943], [439, -941], [439, -939], [440, -936], [440, -935], [454, -935], [454, -955], [454, -959], [448, -964], [448, -967], [443, -968]]}, "center": {"250-258, T": [445, -955]}},
{"id": 6327, "name": "Colombia", "description": "The country of Colombia as it appears on a map", "links": {"subreddit": ["Colombia"]}, "path": {"163-258, T": [[-964, 889], [-964, 903], [-965, 904], [-969, 909], [-972, 913], [-973, 913], [-974, 914], [-974, 915], [-976, 917], [-975, 918], [-974, 918], [-966, 926], [-965, 926], [-963, 928], [-962, 928], [-961, 929], [-959, 929], [-950, 938], [-950, 939], [-947, 942], [-946, 942], [-945, 943], [-941, 943], [-940, 944], [-936, 944], [-936, 945], [-940, 949], [-940, 950], [-944, 954], [-944, 955], [-938, 955], [-937, 956], [-936, 956], [-935, 957], [-934, 957], [-933, 956], [-933, 953], [-932, 952], [-932, 950], [-931, 949], [-931, 947], [-930, 947], [-929, 946], [-929, 945], [-928, 944], [-928, 935], [-927, 934], [-926, 934], [-926, 931], [-925, 930], [-925, 928], [-924, 927], [-924, 925], [-915, 925], [-914, 926], [-914, 927], [-913, 927], [-913, 929], [-912, 930], [-911, 930], [-912, 929], [-912, 926], [-913, 926], [-913, 922], [-914, 921], [-914, 919], [-913, 919], [-912, 918], [-912, 915], [-913, 915], [-914, 914], [-914, 913], [-915, 913], [-915, 909], [-914, 908], [-914, 906], [-913, 905], [-913, 902], [-914, 901], [-921, 901], [-921, 900], [-923, 900], [-923, 899], [-924, 898], [-925, 897], [-931, 897], [-932, 896], [-932, 895], [-933, 895], [-933, 888], [-934, 887], [-934, 886], [-935, 885], [-935, 883], [-934, 882], [-934, 880], [-932, 878], [-932, 877], [-931, 877], [-931, 875], [-929, 875], [-927, 873], [-926, 873], [-926, 872], [-924, 872], [-924, 871], [-923, 870], [-923, 869], [-931, 869], [-932, 870], [-933, 870], [-934, 871], [-936, 871], [-945, 873], [-954, 883]]}, "center": {"163-258, T": [-944, 914]}},
{"id": 6328, "name": "Hachenburger Westerwald", "description": "Logo of the hachenburger Westerwald.", "links": {"website": ["http://hbgww.de/"]}, "path": {"250-258, T": [[-177, -1000], [-175, -1000], [-177, -1000], [-174, -1000], [-173, -999], [-172, -998], [-171, -997], [-171, -996], [-171, -995], [-171, -994], [-172, -993], [-173, -992], [-174, -991], [-175, -991], [-176, -991], [-177, -991], [-178, -992], [-179, -993], [-180, -994], [-180, -996], [-179, -997], [-179, -998]]}, "center": {"250-258, T": [-175, -995]}},
{"id": 6328, "name": "Hachenburger Westerwald", "description": "Hachenburger Westerwald is a natural recreation area surrounding the town of Hachenburg, Germany.", "links": {"website": ["http://hbgww.de/"]}, "path": {"243-258, T": [[-176, -1000], [-179, -999], [-181, -996], [-181, -994], [-177, -990], [-174, -990], [-170, -994], [-170, -996], [-172, -999], [-174, -1000]]}, "center": {"243-258, T": [-175, -995]}},
{"id": 6329, "name": "Tiny Eiffel tower", "description": "this Eiffel tower was made by france on a tiny french flag", "links": {"subreddit": ["placeFR", "france"]}, "path": {"168-242": [[-131, 853], [-115, 853], [-121, 841], [-121, 827], [-122, 826], [-123, 825], [-125, 828], [-125, 841]]}, "center": {"168-242": [-123, 848]}},
{"id": 6330, "name": "Colombian Flag", "description": "A rendition of the Colombian Flag.", "links": {}, "path": {"250-258, T": [[-1460, 153], [-1460, 140], [-1446, 140], [-1446, 153], [-1459, 153]]}, "center": {"250-258, T": [-1453, 147]}},
{"id": 6331, "name": "Asexual flag", "description": "A pride flag representing the asexual community. Asexual people have no sexual attraction to others.", "links": {"website": ["https://en.wikipedia.org/wiki/Asexuality"]}, "path": {"172-182": [[-1326, -930], [-1326, -924], [-1319, -924], [-1319, -919], [-1311, -919], [-1311, -925], [-1318, -925], [-1318, -930]]}, "center": {"172-182": [-1322, -927]}},
Expand Down Expand Up @@ -6671,5 +6671,6 @@
{"id": 6934, "name": "Lesbian flag", "description": "A pride flag representing the lesbian community. Lesbian people are women attracted to other women.", "links": {"website": ["https://en.wikipedia.org/wiki/Lesbian"]}, "path": {"127-135": [[-277, -987], [-277, -984], [-279, -984], [-279, -980], [-265, -980], [-265, -987]]}, "center": {"127-135": [-272, -983]}},
{"id": 6935, "name": "FC St. Gallen", "description": "FC St. Gallen is an association football club based in St. Gallen, Switzerland.", "links": {"website": ["https://en.wikipedia.org/wiki/FC_St._Gallen"]}, "path": {"117-124": [[-252, -912], [-252, -903], [-229, -903], [-229, -912]]}, "center": {"117-124": [-240, -907]}},
{"id": 6936, "name": "Catcraft Cat!!", "description": "The square was made for the admin of the CatCraft Minecraft server, who was named Cat!!, in an attempt to leave a small mark before the canvas got too busy.", "links": {"discord": ["BT7uMSqv5F"]}, "path": {"1-6": [[-363, -206], [-324, -206], [-324, -199], [-363, -199]], "7-11": [[-335, -205], [-335, -199], [-326, -199], [-326, -205]]}, "center": {"1-6": [-343, -202], "7-11": [-330, -202]}},
{"id": 6937, "name": "Peter_PT Head", "description": "The head of the Portuguese Twitch Minecraft streamer MrPeter_PT that represents his community in r/place", "links": {"website": ["https://www.twitch.tv/MrPeter_PT"], "discord": ["rY4k6UF"]}, "path": {"250": [[-834, 179], [-827, 179], [-827, 186], [-834, 186]]}, "center": {"250": [-830, 183]}}
{"id": 6937, "name": "Peter_PT Head", "description": "The head of the Portuguese Twitch Minecraft streamer MrPeter_PT that represents his community in r/place", "links": {"website": ["https://www.twitch.tv/MrPeter_PT"], "discord": ["rY4k6UF"]}, "path": {"250-258, T": [[-834, 179], [-827, 179], [-827, 186], [-834, 186]]}, "center": {"250-258, T": [-830, 183]}},
{"id": 6938, "name": "War Thunder", "description": "War Thunder is a multilayer war game with tanks, planes, and boats.", "links": {"website": ["https://en.wikipedia.org/wiki/War_Thunder"], "subreddit": ["warthunder"], "discord": ["9wDTTaKW"]}, "path": {"122-256": [[-618, -368], [-618, -343], [-600, -343], [-600, -352], [-604, -352], [-604, -368]]}, "center": {"122-256": [-611, -351]}}
]

0 comments on commit a0e0b89

Please sign in to comment.