Ver código fonte

Initial DNS file

feature/find_holes
Figg 7 meses atrás
pai
commit
4a4a13a3dc
2 arquivos alterados com 27 adições e 2 exclusões
  1. 24
    1
      data/DNS
  2. 3
    1
      million/analyze/dns_solver.py

+ 24
- 1
data/DNS Ver arquivo

@@ -1 +1,24 @@
1
-https://www.youtube.com/watch?v=mC9yute2k_Q 3000
1
+94965738_575896433034148_2204307637284110336_n_2600568116938585.jpg 300
2
+84316189_161561335269481_4671060857508069376_n_821996424998042.jpg 307
3
+102407032_3165952896761223_6148002473225081360_n_2378777012422623.jpg 308
4
+90507136_213915209958557_5413143962586185728_n_1841388439336535.jpg 309
5
+104035858_782158855522425_8192024435259743235_n_782158852189092.jpg 666
6
+104123574_322212138769518_5707692183879973515_n_322212135436185.jpg 667
7
+104434027_271819697398827_5391503491326101448_n_271819694065494.jpg 1312
8
+95525936_1164142403920772_8318302524985573376_n_299590661169172.jpg 51
9
+52421236_278953813000944_2106293885134176256_n_2905362479561945.gif 1664
10
+20688788_286417625173756_1069917705378725888_n_1207474276261488.gif 666
11
+38234456_1103482206482169_3464478929153163264_n_2628411810759247.gif 1789
12
+104662968_217216135921364_332403069450983046_n_217216132588031.jpg 1914
13
+50706165_602050206907030_9269729130708992_n_3180220838709531.gif 1939
14
+92978153_661083471350851_7802534939089436672_n_585129509051794.jpg 1984
15
+104872794_272192197333677_7875491468143786127_n_272192194000344.jpg 1995
16
+49627753_540217636460822_4914566064169287680_n_2394672374158902.png 2048
17
+https://www.youtube.com/watch?v=mC9yute2k_Q 3000
18
+65681880_655872084893722_5358758350790066176_n_4051854338219896.gif 3666
19
+50165487_1987596788210079_254230440078999552_n_1007765122959718.gif 66
20
+87358105_203182734373455_1323650921388834816_n_3112616325440519.gif 4810
21
+83527853_509829533251553_144101650338938880_n_1220206091644612.gif 6369
22
+84441501_209962830394148_963121690001276928_n_736879910407241.gif 6769
23
+74608941_770967279996317_3169876449326792704_n_1581830875345515.gif 7269
24
+20505423_878434838980511_4604695143109361664_n_299194367865591.gif 666

+ 3
- 1
million/analyze/dns_solver.py Ver arquivo

@@ -1,3 +1,4 @@
1
+from os.path import basename
1 2
 from typing import Dict
2 3
 
3 4
 from pydantic import BaseModel, PrivateAttr
@@ -33,4 +34,5 @@ class DNS_solver(BaseModel):
33 34
         # look into msg attributes
34 35
         # find uri
35 36
         return (msg.share or None) and msg.share.link or \
36
-            (msg.gifs or None) and msg.gifs[0].uri
37
+            (msg.gifs or None) and basename(msg.gifs[0].uri) or \
38
+            (msg.photos or None) and basename(msg.photos[0].uri)

Carregando…
Cancelar
Salvar