Skip to content

Improve upload source detection #46

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Improve upload source detection #46

wants to merge 10 commits into from

Conversation

0xrohitgarg
Copy link
Collaborator

@0xrohitgarg 0xrohitgarg commented Jul 1, 2025

Summary

  • infer URL vs file path automatically during upload
  • document new behavior in README
  • bump version to 0.2.16

Testing

  • coll.upload("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
  • coll.upload("../aws.mp4")
  • coll.upload(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
  • coll.upload(file_path="./aws.mp4")

Repleat testing with Connection

@0xrohitgarg 0xrohitgarg changed the title auto detect file_path/url when a given source is provided in Collecti… Improve upload source detection Jul 1, 2025
@0xrohitgarg 0xrohitgarg requested a review from ashish-spext July 3, 2025 10:33
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

Successfully merging this pull request may close these issues.

2 participants