oduwsdl / raintale

A Python utility for publishing a social media story built from archived web pages to multiple services.
https://oduwsdl.github.io/raintale
MIT License
11 stars 3 forks source link

Re-create Raintale GUI's Download button #34

Closed himarshaj closed 2 years ago

himarshaj commented 3 years ago

Refer to oduwsdl/hypercane#51.

himarshaj commented 2 years ago

A button to download the final output will be useful for the below scripts.

However, for social media stories (Twitter & Facebook), we could provide a direct link to the post maybe through the share button?

shawnmjones commented 2 years ago

Maybe the share button only shows up if they chose a social media story.

I've discovered how to extract the script file name with job_info.job.script_version.script.script_name. See what I've done for Hypercane here, where it changes the buttons based on which script was run:

https://github.com/oduwsdl/hypercane/blob/72efecb7b2ecd7d6734e77d0c0d88fa2af150973/hypercane-gui/templates/jobs/job_view.html#L51-L102