grab nzo_id in post script

Come up with a useful post-processing script? Share it here!
Post Reply
GhostCOM97
Newbie
Newbie
Posts: 2
Joined: October 26th, 2017, 7:20 am

grab nzo_id in post script

Post by GhostCOM97 » October 9th, 2018, 3:43 pm

Hi

I'm not familiar with python, so how would a post-processing script look like if would like to get the nzo_id for the just downloaded item and save it for later use ?

User avatar
safihre
Administrator
Administrator
Posts: 2876
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: grab nzo_id in post script

Post by safihre » October 9th, 2018, 3:47 pm

You could get it from the os.env variables, see the wiki for the right key :)

You do know a tiny bit of python?

Post Reply