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

Single audio download automation #3

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

mitsuki31
Copy link
Owner

@mitsuki31 mitsuki31 commented Nov 14, 2023

Changes Made

  • New Features

    • Introduced a new function, singleDownload, facilitating the automated download of a single audio file.
  • Refactors

    • Refined the main entry by implementing additional logic.
All commits
  • 10435b7 - Define some logics on main entry
  • c13aa89 - feature: Add new function to single download audio

Summary

While not extensive, these changes enable users to conveniently download a single audio file by providing the YouTube URL as a command-line argument.

Example usage:

$ node index.js <URL>

Note
For batch downloads, use the downloads.txt file and ensure the URLs do not exceed 15 to prevent misbehavior during audio file downloads, see the queries limitation on #2 .

Implemented almost exact the same with the `batchDownload` function.
When users give the input, it will detects whether the given input
is valid URL or a path to batch file.
@mitsuki31 mitsuki31 self-assigned this Nov 14, 2023
@mitsuki31 mitsuki31 changed the title Single download feature Single audio download automation Nov 14, 2023
@mitsuki31 mitsuki31 changed the base branch from master to refactor/improve-audio-dl November 14, 2023 13:28
@mitsuki31 mitsuki31 added the refactor Refactor and enhancement changes label Nov 14, 2023
@mitsuki31 mitsuki31 marked this pull request as ready for review November 14, 2023 13:29
@mitsuki31 mitsuki31 merged commit f581ec3 into refactor/improve-audio-dl Nov 14, 2023
@mitsuki31 mitsuki31 deleted the feature/url-from-args branch November 14, 2023 13:36
mitsuki31 added a commit that referenced this pull request Nov 14, 2023
Single audio download automation, duplicates #3.
@mitsuki31 mitsuki31 added the feature Bring new features label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Bring new features refactor Refactor and enhancement changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant