EchterAlsFake/hqporner_api

Error while downloading video

devf0rlife opened this issue · 2 comments

Video.download() got an unexpected keyword argument 'output_path'

from hqporner_api.api import Client, Quality
# Initialize a Client object
client = Client()

# Fetch a video
video_object = client.get_video("url")

# Download the video
video_object.download(quality=Quality.BEST, output_path="your_output_path + title.mp4")

I forgot to update the Readme. It's no longer output_path, I renamed it to path

I close this issue now. If you have any more questions, just reopen it :)