ail-project / ail-feeder-telegram

External telegram feeder for AIL framework
GNU Affero General Public License v3.0
13 stars 2 forks source link

Lost of relation between downloaded file and message #10

Open FafnerKeyZee opened 3 months ago

FafnerKeyZee commented 3 months ago

Hello,

When monitoring some chanels, all file have the same names and it's very hard to find which file is associated to a message.

for ex, I ran: python3 bin/feeder.py messages MYCHAN --media --save_dir outch The content of outch is:

'100.results (10).txt' '100.results (7).txt' '1.results (12).txt' '26.results (1).txt' '3.results (7).txt' '7.results (1).txt' '92.results (1).txt' '100.results (11).txt' '100.results (8).txt' '1.results (13).txt' 26.results.txt 3.results.txt '7.results (2).txt' 92.results.txt '100.results (12).txt' '100.results (9).txt' '1.results (14).txt' '2.results (1).txt' '47.results (1).txt' '7.results (3).txt' '94.results (1).txt' '100.results (13).txt' 100.results.txt '1.results (15).txt' '2.results (2).txt' 47.results.txt '7.results (4).txt' '94.results (2).txt' '100.results (14).txt' '10.results (1).txt' '1.results (16).txt' '2.results (3).txt' '48.results (1).txt' '7.results (5).txt' '94.results (3).txt' '100.results (15).txt' '10.results (2).txt' '1.results (17).txt' '2.results (4).txt' 48.results.txt 7.results.txt 94.results.txt '100.results (16).txt' '10.results (3).txt' '1.results (18).txt' '2.results (5).txt' '49.results (1).txt' '83.results (1).txt' '95.results (1).txt' '100.results (17).txt' '10.results (4).txt' '1.results (19).txt' '2.results (6).txt' '49.results (2).txt' 83.results.txt '95.results (2).txt' '100.results (18).txt' '10.results (5).txt' '1.results (1).txt' '2.results (7).txt' '49.results (3).txt' '84.results (1).txt' '95.results (3).txt' '100.results (19).txt' 10.results.txt '1.results (2).txt' 2.results.txt 49.results.txt 84.results.txt 95.results.txt '100.results (1).txt' '12.results (1).txt' '1.results (3).txt' '31.results (1).txt' '4.results (1).txt' '85.results (1).txt' '98.results (1).txt' '100.results (20).txt' 12.results.txt '1.results (4).txt' 31.results.txt '4.results (2).txt' '85.results (2).txt' '98.results (2).txt' '100.results (21).txt' '14.results (1).txt' '1.results (5).txt' '33.results (1).txt' '4.results (3).txt' '85.results (3).txt' '98.results (3).txt' '100.results (22).txt' '14.results (2).txt' '1.results (6).txt' 33.results.txt 4.results.txt 85.results.txt 98.results.txt '100.results (23).txt' '14.results (3).txt' '1.results (7).txt' '37.results (1).txt' '51.results (1).txt' '8.results (1).txt' '99.results (1).txt' '100.results (24).txt' 14.results.txt '1.results (8).txt' '37.results (2).txt' 51.results.txt '8.results (2).txt' 99.results.txt '100.results (25).txt' '15.results (1).txt' '1.results (9).txt' '37.results (3).txt' '57.results (1).txt' '8.results (3).txt' '9.results (1).txt' '100.results (26).txt' 15.results.txt 1.results.txt 37.results.txt 57.results.txt '8.results (4).txt' 9.results.txt '100.results (27).txt' '18.results (1).txt' '20.results (1).txt' '3.results (1).txt' '5.results (1).txt' '8.results (5).txt' '100.results (2).txt' '18.results (2).txt' 20.results.txt '3.results (2).txt' 5.results.txt '8.results (6).txt' '100.results (3).txt' '18.results (3).txt' '23.results (1).txt' '3.results (3).txt' '6.results (1).txt' '8.results (7).txt' '100.results (4).txt' 18.results.txt 23.results.txt '3.results (4).txt' '6.results (2).txt' 8.results.txt '100.results (5).txt' '1.results (10).txt' '24.results (1).txt' '3.results (5).txt' '6.results (3).txt' '90.results (1).txt' '100.results (6).txt' '1.results (11).txt' 24.results.txt '3.results (6).txt' 6.results.txt 90.results.txt

Is it possible to add an id in order to match it with the message content ?