Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uphow to get the date of torrent.files directly #1036
Closed
Comments
This comment has been minimized.
This comment has been minimized.
|
You mean like date of creation, modification, etc? I don't think there such metadata available for the files accessible from the API. |
This comment has been minimized.
This comment has been minimized.
|
You can get the torrent creation date with |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi, does there is a way to get the date of torrent.files ? it seems that the api file.appendTo can not get the hole file date to a local variable
torrent.on('done', function(){
torrent.files.forEach(function(file){
// do something with file
var tempDate = file //the file is a object which can not get the file content directly
// i want to get the text format file content
})
})