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

problem with download media file #610

Closed
OPEC239 opened this issue Sep 24, 2024 · 1 comment
Closed

problem with download media file #610

OPEC239 opened this issue Sep 24, 2024 · 1 comment
Labels
triage Needs to be reviewed and assigned

Comments

@OPEC239
Copy link

OPEC239 commented Sep 24, 2024

Hi gus, having an issue here and has no clue when I try to download a media file from gopro
import requests
url = "http://172.29.141.51:8080/videos/DCIM/100GOPRO/GX010519.MP4"
response = requests.request("GET", url)
print(response.text)

When I use the above code python just crashed. I was wondering where will this file save to, because there is no directry input to let the gopro know where to save the file, e.g d:/goprofiles/ something like that.

Thanks for the help.

@github-actions github-actions bot added the triage Needs to be reviewed and assigned label Sep 24, 2024
@KonradIT
Copy link
Contributor

That's not really OpenGoPro related, you need to change the requests response to bytes and save it. Lots of tutorials online.

@OPEC239 OPEC239 closed this as completed Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs to be reviewed and assigned
Projects
None yet
Development

No branches or pull requests

2 participants