use feeder name

This commit is contained in:
Terrtia 2018-05-03 16:32:25 +02:00
parent a900d5f08d
commit ae8f575879
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -91,9 +91,9 @@ if __name__ == '__main__':
complete_paste, gzip64encoded = splitted
try:
feeder_name = ( complete_paste.replace("archive/","") ).split("/")[0]
# TODO take real name ?
#feeder_name = ( complete_paste.replace("archive/","") ).split("/")[0]
feeder_name, paste_name = complete_paste.split('>')
feeder_name.replace(" ","")
paste_name = complete_paste
except ValueError as e: