Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not provide a public link to the file #80

Open
LilBtr opened this issue Apr 11, 2022 · 1 comment
Open

Does not provide a public link to the file #80

LilBtr opened this issue Apr 11, 2022 · 1 comment

Comments

@LilBtr
Copy link

LilBtr commented Apr 11, 2022

The second line of this code did not display a link in the terminal

m.get_upload_link(file)

@N4GR
Copy link

N4GR commented Jun 7, 2022

Hey,
Super late response and hopefully you've sorted it out yourself, have you tried this?

You need to assign it to a variable and then print the variable to display it in console:

file = m.upload('path_to_file')
linkname = m.get_upload_link(file)

print (linkname)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@LilBtr @N4GR and others