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

[FEATURE] Command Line URL Queue #410

Closed
EasyG0ing1 opened this issue Jan 10, 2024 · 4 comments · Fixed by #414
Closed

[FEATURE] Command Line URL Queue #410

EasyG0ing1 opened this issue Jan 10, 2024 · 4 comments · Fixed by #414
Assignees
Labels
App 💻 Issues/Pull Requests which update Drifty Application Code EddieHub:good-first-issue Label for good-first-issue finder made by EddieHub Community feature ✨ New feature request or addition good first issue Good for newcomers
Milestone

Comments

@EasyG0ing1
Copy link
Contributor

Is your feature request related to a problem? Please describe.

No problem is being addressed, this is an enhancement request.

Describe the solution you'd like.

It might be convenient for some, if the command line side of Drifty could be used as a quick way of adding links into a download queue. For example, if I'm using a web browser, and I come across a link that I want to download, I could just drop into Terminal and type:

drifty https://somesite.com/some/link/to/download

And Drifty might just respond with something like Added and then just exit out. But what Drifty actually did was maybe keep a text file inside the data folder where it accumulates the list of URLs that a user adds via the command line.

Then a user could see which URLs are in the list by passing in an argument which could be:

drifty list
drifty queue

Or even some other word ... Drifty could even assign line numbers to the list so that a person could remove a URL from the list.

So lets say that I add some URLs to the list:

drifty https://www.instagram.com/reel/C1L3vk7owF6/?igsh=YTI4YzE2YTYwMA%3D%3D
drifty https://www.instagram.com/reel/C1xET1sOmeJ/?igsh=YTI4YzE2YTYwMA%3D%3D
drifty https://www.instagram.com/reel/C04_FtZS40L/?igsh=YTI4YzE2YTYwMA%3D%3D

The URLs get stored into the file. Then I want to see the list so I do this:

drifty list

1    - https://www.instagram.com/reel/C1L3vk7owF6/?igsh=YTI4YzE2YTYwMA%3D%3D
2    - https://www.instagram.com/reel/C1xET1sOmeJ/?igsh=YTI4YzE2YTYwMA%3D%3D
3    - https://www.instagram.com/reel/C04_FtZS40L/?igsh=YTI4YzE2YTYwMA%3D%3D

But then I want to remove item 2, so I do this:

drifty remove 2

Drifty responds with

Removed URL from list:
     https://www.instagram.com/reel/C1xET1sOmeJ/?igsh=YTI4YzE2YTYwMA%3D%3D

Then, when I'm ready to download the list, I just type:

drifty get

And Drifty then downloads the list to the last download location I used or maybe it prompts for the download folder while showing that last location as the default if the user just hits enter etc.

Screenshots

No response

Additional information

I could write this of course, but I've got other things going right now so I think if someone can get started on this right away, then it might be a good opportunity for someone to contribute to the project. I'm more than happy to pass this on to someone who might be interested in writing it.

@EasyG0ing1 EasyG0ing1 added App 💻 Issues/Pull Requests which update Drifty Application Code feature ✨ New feature request or addition labels Jan 10, 2024
@github-project-automation github-project-automation bot moved this to Todo in Drifty Jan 10, 2024
Copy link
Contributor

Hello 👋! Thank you very much for raising an issue 🙌! The maintainers will get back to you soon for discussion over the issue! 🚀

Meanwhile you can also discuss about the project in our Discord Server 😀

@SaptarshiSarkar12
Copy link
Owner

Thank you for opening this issue @EasyG0ing1! Great feature to implement 👍.
If anyone wants to work on this issue, please comment below.

@SaptarshiSarkar12 SaptarshiSarkar12 added this to the Drifty v2.1.0 milestone Jan 10, 2024
@SaptarshiSarkar12 SaptarshiSarkar12 added help wanted Extra attention and support, and contributors are needed good first issue Good for newcomers EddieHub:good-first-issue Label for good-first-issue finder made by EddieHub Community labels Jan 10, 2024
@Femi-lawal
Copy link
Contributor

@SaptarshiSarkar12 Please can I work on this?

@SaptarshiSarkar12
Copy link
Owner

Thank you @Femi-lawal for your interest in this issue!
Yes, you can work on this issue.

@SaptarshiSarkar12 SaptarshiSarkar12 removed the help wanted Extra attention and support, and contributors are needed label Jan 14, 2024
@SaptarshiSarkar12 SaptarshiSarkar12 moved this from Todo to In Progress in Drifty Jan 15, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Drifty May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App 💻 Issues/Pull Requests which update Drifty Application Code EddieHub:good-first-issue Label for good-first-issue finder made by EddieHub Community feature ✨ New feature request or addition good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants