-
Notifications
You must be signed in to change notification settings - Fork 0
/
emotes.py
362 lines (352 loc) · 16.2 KB
/
emotes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
import os
import requests
image_urls = [
"https://emoji.slack-edge.com/T3G9GKRT4/4head/f5d018d3497ebfcd.png",
"https://emoji.slack-edge.com/T3G9GKRT4/aashia/d8b5b55688beeb14.png",
"https://emoji.slack-edge.com/T3G9GKRT4/aashia_cake/a46bf5fec5a6f5fb.png",
"https://emoji.slack-edge.com/T3G9GKRT4/adorable-pink-cat/ec6433404d8d92b0.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/ah_ha_ah/7dfae4f4b3b51028.png",
"https://emoji.slack-edge.com/T3G9GKRT4/alert/c004947b8045f2ad.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/angry-emoji-from-slackmojis/4d8a439c35709ffd.png",
"https://emoji.slack-edge.com/T3G9GKRT4/angry_trump/7fa66dc332101eda.jpg",
"https://emoji.slack-edge.com/T3G9GKRT4/a_blob_bounce/d23a469f57533ff9.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/a_blob_hungry/45fba1ca09ff6357.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/a_blob_hyper_party/a838110306ea7e10.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/a_blob_lamp/f4d1267395fa8f3b.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/a_blob_maracas/2a398dbc0913cd1f.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/a_blob_nom_party/479800ee71aa8dfc.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/a_blob_sweat/f61b8b6f8b6ab446.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/a_blob_unamused/637e97ef28d80336.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/a_party_blob_sunglasses/4cc085c16f47bc19.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/banana-dance/5013dd54e46d41d7.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/banana-dance-duo/5013dd54e46d41d7.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/bengio/2ef2145b7aac01f0.png",
"https://emoji.slack-edge.com/T3G9GKRT4/blob-cats-meow/3374b515d79727e4.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/blob-yay/62f9740b06fac59e.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/blob-yes/0f2c6742ccc76c34.png",
"https://emoji.slack-edge.com/T3G9GKRT4/boba/fa1a3bc7f2ae0eb9.png",
"https://emoji.slack-edge.com/T3G9GKRT4/brennan/7adf89e7c70ee0d9.jpg",
"https://emoji.slack-edge.com/T3G9GKRT4/bruh/812db51aa221839f.png",
"https://emoji.slack-edge.com/T3G9GKRT4/cat-roomba-fast/3374b515d79727e4.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/catjam/526b1a73d66ac040.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/cheezeboi/465b5abc550d2e27.png",
"https://emoji.slack-edge.com/T3G9GKRT4/clapping-emoji/c23e58f83851dc91.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/clowning/dd1a4177d15db806.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/confused-cat/b29d0356e4c54897.png",
"https://emoji.slack-edge.com/T3G9GKRT4/confused-cat-from-slackmojis/fff64bbf98ee88d0.png",
"https://emoji.slack-edge.com/T3G9GKRT4/conga_parrot/fabc886e3026e0d4.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/cool-cry-omegalul/2385149dc8d41766.png",
"https://emoji.slack-edge.com/T3G9GKRT4/couscous/76e5433cb9cbc0e4.png",
"https://emoji.slack-edge.com/T3G9GKRT4/cow-roll/4aaf6cbe22634be7.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/custom-slack-emoji/b71d2a2a3be00666.png",
"https://emoji.slack-edge.com/T3G9GKRT4/dabbingninja/c5abe216b5ca07bd.png",
"https://emoji.slack-edge.com/T3G9GKRT4/dancing_ninja/19ccd320f5b86c6b.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/datboi/223bb93274df40ab.png",
"https://emoji.slack-edge.com/T3G9GKRT4/deal_with_it_parrot/51f205aa669a9764.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/deploy-parrot/0f8aa526a2bb831a.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/ditto/cb02f1e7d54f35ea.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/excuse-me/57c4842214dc0e4f.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/explody_parrot/9ba826a05cb27cc6.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/eyebrows/b324cfc3ce263e0a.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/eyes-emoji/aa7804cb49f36b2c.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/f-button-to-pay-respects/7d7faed960634576.png",
"https://emoji.slack-edge.com/T3G9GKRT4/facepalm-emoji/16fc076c55b6dbab.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/failfish/328098de3b00eb77.png",
"https://emoji.slack-edge.com/T3G9GKRT4/fast_parrot/a64d6bb7fa210e57.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/fiesta_parrot/7d86c79686516c04.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/finesse/58524f3167d93839.png",
"https://emoji.slack-edge.com/T3G9GKRT4/fingers_crossed/b19b902572700248.png",
"https://emoji.slack-edge.com/T3G9GKRT4/flushed-cowboy/228144825e8c292d.png",
"https://emoji.slack-edge.com/T3G9GKRT4/gigachad/a4e816c749ca2a76.png",
"https://emoji.slack-edge.com/T3G9GKRT4/good-good-emoji/4ebb5bd2454c6792.jpg",
"https://emoji.slack-edge.com/T3G9GKRT4/grimacing-npc/ad0d7f2d0c3e1f93.png",
"https://emoji.slack-edge.com/T3G9GKRT4/ham/76bc8f6f03d1529b.png",
"https://emoji.slack-edge.com/T3G9GKRT4/heart-beat/f6d03252faaf5ab2.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/hooded-emoji/4ebb5bd2454c6792.png",
"https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-large/1f624.png",
"https://emoji.slack-edge.com/T3G9GKRT4/hypetag/576fbe97d101bed1.png",
"https://emoji.slack-edge.com/T3G9GKRT4/intensified-omegalul/369c67d522caf27d.png",
"https://emoji.slack-edge.com/T3G9GKRT4/ivanka/42a193a39742a9db.png",
"https://emoji.slack-edge.com/T3G9GKRT4/jarek/8e46d7bfcb8e9603.png",
"https://emoji.slack-edge.com/T3G9GKRT4/jovana/3c7f7ac57a6175c0.png",
"https://emoji.slack-edge.com/T3G9GKRT4/kappa/92d1876d0fda56d6.png",
"https://emoji.slack-edge.com/T3G9GKRT4/kevin/c138b1c82a2ae6c1.png",
"https://emoji.slack-edge.com/T3G9GKRT4/kevin-head/5df9f848daac0a25.png",
"https://emoji.slack-edge.com/T3G9GKRT4/kevo/19c5100a9167ffcd.png",
"https://emoji.slack-edge.com/T3G9GKRT4/kevo_ploosh/e3bf46131d96f332.png",
"https://emoji.slack-edge.com/T3G9GKRT4/kp/f902988e22108829.png",
"https://emoji.slack-edge.com/T3G9GKRT4/laugh-cry/63cd67f8bf34e681.png",
"https://emoji.slack-edge.com/T3G9GKRT4/lfg/a607859a38a3c5a5.png",
"https://emoji.slack-edge.com/T3G9GKRT4/lgtm/58695c7b9095f0f5.png",
"https://emoji.slack-edge.com/T3G9GKRT4/lgtm-holy/3794b9b9c03eca42.png",
"https://emoji.slack-edge.com/T3G9GKRT4/lgtm-minimal/3794b9b9c03eca42.jpg",
"https://emoji.slack-edge.com/T3G9GKRT4/lgtm-thumb/7c9c9e058c3eb381.png",
"https://emoji.slack-edge.com/T3G9GKRT4/loading/e8d1889aa66b42af.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/lolrght/6d45e08efd16c0de.png",
"https://emoji.slack-edge.com/T3G9GKRT4/lord_buckethead/666718ac7589f63f.jpg",
"https://emoji.slack-edge.com/T3G9GKRT4/lul/ed4f6f524cb5c175.png",
"https://emoji.slack-edge.com/T3G9GKRT4/mad-npc/6fa35d3fe8934c5f.png",
"https://emoji.slack-edge.com/T3G9GKRT4/meow-heart-bongo/52a905964a200f3d.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/mhacks-2024/29740fd4fcd42f9b.png",
"https://emoji.slack-edge.com/T3G9GKRT4/microsoft-teams-bomb/bc41c85be03823b4.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/microsoft-teams-emojis/915f1b0a781cb1f6.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/mild-panic-intensifies/c6cd6a736b6bfed8.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/mlem/a8b20a8d2108af8e.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/mushroom-cloud/78fe14891b162ff7.png",
"https://emoji.slack-edge.com/T3G9GKRT4/notion/816d60cae41a7be1.png",
"https://emoji.slack-edge.com/T3G9GKRT4/notlikethis/ddfb60f79f2bbf52.png",
"https://emoji.slack-edge.com/T3G9GKRT4/nubin/2ec6a139a6610f89.png",
"https://emoji.slack-edge.com/T3G9GKRT4/nubo_ploosh/02223c6eeafeb5a0.png",
"https://emoji.slack-edge.com/T3G9GKRT4/nutella/6f3c27477a6fc8fc.png",
"https://emoji.slack-edge.com/T3G9GKRT4/omegalul-emoji/76ada7e7f90193d8.jpg",
"https://emoji.slack-edge.com/T3G9GKRT4/omg/38db265b4f6949a6.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/omg-eyesq/3617f40f897ebbe6.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/oof/4ff396688b92bea8.png",
"https://emoji.slack-edge.com/T3G9GKRT4/parrot-emoji/c7c353cc0f52802b.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/party-blob/66ae348453d78125.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/party-parrot/2ba6db604fb19795.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/party_nubin/45290ee351d8552e.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/party_parrot/07c92453125cff94.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/perm/31155db528d48654.png",
"https://emoji.slack-edge.com/T3G9GKRT4/peter/417ebf73103f167a.png",
"https://emoji.slack-edge.com/T3G9GKRT4/pika/39c7fc7f8770e112.png",
"https://emoji.slack-edge.com/T3G9GKRT4/plus1/8fef87e0b289c24c.png",
"https://emoji.slack-edge.com/T3G9GKRT4/pogchamp/0d00d24aecc2a6ff.png",
"https://emoji.slack-edge.com/T3G9GKRT4/poke-emoji/c6867d3d54452d96.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/punch-skype/b23e28838692becb.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/ah_ha_ah/7dfae4f4b3b51028.png",
"https://emoji.slack-edge.com/T3G9GKRT4/quinlan/05cfc8de481693d3.jpg",
"https://emoji.slack-edge.com/T3G9GKRT4/rainbowyeet/51bdd4b33bdba4ea.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/react-emoji/fff64bbf98ee88d0.png",
"https://emoji.slack-edge.com/T3G9GKRT4/red-bull/cfc0f037d5f70546.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/rock-sus/f53fc77b79d3b1b9.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/rock-yes/763c08b5d3f77849.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/sad-blob/0efe1ec5f57f88cd.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/sad-meow/29433311d754c8ad.png",
"https://emoji.slack-edge.com/T3G9GKRT4/sad_parrot/2bc6b8a1158c8dc2.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/salute-emoji/9a36480b871fe351.png",
"https://emoji.slack-edge.com/T3G9GKRT4/salute-vigorous/254814ce94366e49.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/shaking-fist-dark-mode/a985b96c910ea242.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/shifty_smiley/f09b48fd177bfe1d.png",
"https://emoji.slack-edge.com/T3G9GKRT4/skype-emojis/3c5202fd3f63bde8.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/skype-heart/b1977c9312c85400.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/slackmojis-done/7aa553da8d9e26ff.jpg",
"https://emoji.slack-edge.com/T3G9GKRT4/slackmojis-huh/e483c543c15c0d2c.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/slackmojis-logo/4319e1c06a7792f3.png",
"https://emoji.slack-edge.com/T3G9GKRT4/slackmojis-wow/da985d9c7642c7aa.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/slowpoke/8fe26710e36d0d9c.png",
"https://emoji.slack-edge.com/T3G9GKRT4/smart-emoji/ef334b3c61e7860d.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/sonic-emoji/27dce2818986c720.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/spin-thinking/912ac7dc1c6248be.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/spinny_nubin/55a8b0f5ce538fa1.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/stonks-emoji/d257c95ec6eb01c3.png",
"https://emoji.slack-edge.com/T3G9GKRT4/suh/c47250dacb01c401.png",
"https://emoji.slack-edge.com/T3G9GKRT4/super-fire/06686ac0a5389256.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/syh/03f9bf958916bb0e.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/tabla/2bd39238730e8c0d.png",
"https://emoji.slack-edge.com/T3G9GKRT4/thank-you/e1b3face4b5ea3c6.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/thinking-face-emoji/eebb49548f706cde.png",
"https://emoji.slack-edge.com/T3G9GKRT4/tidepod/b3b3f6165c70051a.png",
"https://emoji.slack-edge.com/T3G9GKRT4/time/42bbdee5dcb118cb.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/uh-oh/dc9258672a619b2e.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/uno-reverse/286403b529031768.png",
"https://emoji.slack-edge.com/T3G9GKRT4/upper_right_crayon/49422fc01df1a7a1.png",
"https://emoji.slack-edge.com/T3G9GKRT4/wacky/432697868bf8ec0b.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/waffles/c2a1e70aab4c0cf2.png",
"https://emoji.slack-edge.com/T3G9GKRT4/weed/09b3316fff2fc298.png",
"https://emoji.slack-edge.com/T3G9GKRT4/whew/00dc3d0fa42b1a5d.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/wobble/5c992e10e437f177.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/wutface/a51ed5b27e16c0f7.jpg",
"https://emoji.slack-edge.com/T3G9GKRT4/yay/47fef17636b42b20.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/yazo_ploosh/9cb46c35c7e2baf6.png",
"https://emoji.slack-edge.com/T3G9GKRT4/yeah-emoji/c72a5aa9742b28f6.gif",
"https://emoji.slack-edge.com/T3G9GKRT4/yeet/835d879d80c12347.png",
"https://emoji.slack-edge.com/T3G9GKRT4/yes/bcada3f115dce482.png",
"https://emoji.slack-edge.com/T3G9GKRT4/zoom/ff1aab4ad194a8eb.png"
]
emote_names = [
"4head",
"aashia",
"aashia_cake",
"adorable-pink-cat",
"ah_ha_ah",
"alert",
"angry-emoji-from-slackmojis",
"angry_trump",
"a_blob_bounce",
"a_blob_hungry",
"a_blob_hyper_party",
"a_blob_lamp",
"a_blob_maracas",
"a_blob_nom_party",
"a_blob_sweat",
"a_blob_unamused",
"a_party_blob_sunglasses",
"banana-dance",
"banana-dance-duo",
"bengio",
"blob-cats-meow",
"blob-yay",
"blob-yes",
"boba",
"brennan",
"bruh",
"cat-roomba-fast",
"catjam",
"cheezeboi",
"clapping-emoji",
"clowning",
"confused-cat",
"confused-cat-from-slackmojis",
"conga_parrot",
"cool-cry-omegalul",
"couscous",
"cow-roll",
"custom-slack-emoji",
"dabbingninja",
"dancing_ninja",
"datboi",
"deal_with_it_parrot",
"deploy-parrot",
"ditto",
"excuse-me",
"explody_parrot",
"eyebrows",
"eyes-emoji",
"f-button-to-pay-respects",
"facepalm-emoji",
"failfish",
"fast_parrot",
"fiesta_parrot",
"finesse",
"fingers_crossed",
"flushed-cowboy",
"gigachad",
"good-good-emoji",
"grimacing-npc",
"ham",
"heart-beat",
"hooded-emoji",
"huff",
"hypetag",
"intensified-omegalul",
"ivanka",
"jarek",
"jovana",
"kappa",
"kevin",
"kevin-head",
"kevo",
"kevo_ploosh",
"kp",
"laugh-cry",
"lfg",
"lgtm",
"lgtm-holy",
"lgtm-minimal",
"lgtm-thumb",
"loading",
"lolrght",
"lord_buckethead",
"lul",
"mad-npc",
"meow-heart-bongo",
"mhacks-2024",
"microsoft-teams-bomb",
"microsoft-teams-emojis",
"mild-panic-intensifies",
"mlem",
"mushroom-cloud",
"notion",
"notlikethis",
"nubin",
"nubo_ploosh",
"nutella",
"omegalul-emoji",
"omg",
"omg-eyesq",
"oof",
"parrot-emoji",
"party-blob",
"party-parrot",
"party_nubin",
"party_parrot",
"perm",
"peter",
"pika",
"plus1",
"pogchamp",
"poke-emoji",
"punch-skype",
"qt-alien",
"quinlan",
"rainbowyeet",
"react-emoji",
"red-bull",
"rock-sus",
"rock-yes",
"sad-blob",
"sad-meow",
"sad_parrot",
"salute-emoji",
"salute-vigorous",
"shaking-fist-dark-mode",
"shifty_smiley",
"skype-emojis",
"skype-heart",
"slackmojis-done",
"slackmojis-huh",
"slackmojis-logo",
"slackmojis-wow",
"slowpoke",
"smart-emoji",
"sonic-emoji",
"spin-thinking",
"spinny_nubin",
"stonks-emoji",
"suh",
"super-fire",
"syh",
"tabla",
"thank-you",
"thinking-face-emoji",
"tidepod",
"time",
"uh-oh",
"uno-reverse",
"upper_right_crayon",
"wacky",
"waffles",
"weed",
"whew",
"wobble",
"wutface",
"yay",
"yazo_ploosh",
"yeah-emoji",
"yeet",
"yes",
"zoom"
]
# Directory to save the downloaded images
download_dir = "downloaded_images"
# Create the directory if it doesn't exist
if not os.path.exists(download_dir):
os.makedirs(download_dir)
def download_image(url, folder, name):
# Get the image name from the URL
image_name = url.split("/")[-1]
extension = image_name.split(".")[-1]
image_path = os.path.join(folder, f"{name}.{extension}")
# Download the image
response = requests.get(url, stream=True)
if response.status_code == 200:
with open(image_path, "wb") as f:
for chunk in response.iter_content(1024):
f.write(chunk)
print(f"Downloaded: {name}")
else:
print(f"Failed to download: {url}")
# Loop through the URLs and download each image
for idx, url in enumerate(image_urls):
download_image(url, download_dir, name=emote_names[idx])