Created attachment 211418 [details] annie-0.9.8.diff Command-line video downloader written in Go, supporting over 20 sites and includes features such as resumable downloads, multiple downloads and auto-retry. WWW: https://github.com/iawia002/annie Testing: * No errors reported with portlint, built in Poudriere and application works as expected (logs attached).
Created attachment 211419 [details] annie-0.9.8.log * Poudriere build log.
I tried to download the video in the README.md and got the following error. $ annie 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' Downloading https://www.youtube.com/watch?v=dQw4w9WgXcQ error: invalid character ';' after top-level value Can you check?
(In reply to Hiroki Tagato from comment #2) During the time of submission it was working as expected. It seems yet again YouTube have broken the pages which would typically be scraped for the relevant metadata, subsequently breaking this functionality. I've found others have faced this similar issue [1]. Until it's addressed upstream there isn't unfortunately much we can do. :( [1] https://github.com/iawia002/annie/issues/658
(In reply to Lewis Cook from comment #3) Thanks for checking with the upstream. If the issue is addressed, please give me a head-up and I will take care of this PR.
Out of curiosity, does it offer anything that youtube-dl (www/youtube_dl) doesn't?
(In reply to daniel.engberg.lists from comment #5) As far as my understanding goes, youtube_dl is specifically just for YouTube videos and that alone. Whilst annie supports a plethora of other video hosts. In this instance, the YouTube feature of annie is broken although it's other functionality still remains intact. For the other features you can view the full README [1] from the repository. [1] https://github.com/iawia002/annie/blob/master/README.md
Dispite it's name it supports a lot more, http://ytdl-org.github.io/youtube-dl/supportedsites.html https://github.com/ytdl-org/youtube-dl/tree/master/youtube_dl/extractor The reason I'm asking is because it seems inferior and it looks (I haven't compared) that all(?) sites are supported by youtube-dl. Best regards, Daniel
(In reply to daniel.engberg.lists from comment #7) To each their own. Some may find more use in one or the other, and one may offer more functionality than the other - and that's absolutely fine.
Plus I don't believe Annie tries to replace youtube_dl, so drawing the distinction between them seems counter intuitive. It's simply another tool available to those who want it's particular range of features.
I think you misunderstood me here, I just tried to understand pros and cons about this software. Either way, the examples in README at least needs to/should work so we'll have to wait for another release or backport a fix before committing imho.
(In reply to daniel.engberg.lists from comment #10) Gotcha. That's the plan too, as aforementioned until this issue is addressed and resolved upstream there is little point adding this port yet. :)
Created attachment 215278 [details] annie-0.10.1.diff * Update to 0.10.1.
Created attachment 215279 [details] annie-0.10.1.log * Poudriere testport log.
The latest release (0.10.1) have fixed the remaining issues aforementioned.
A commit references this bug: Author: tagattie Date: Sun Jun 7 06:36:04 UTC 2020 New revision: 538144 URL: https://svnweb.freebsd.org/changeset/ports/538144 Log: New port: www/annie: Fast, simple and clean video downloader Command-line video downloader written in Go, supporting over 20 sites and includes features such as resumable downloads, multiple downloads and auto-retry. WWW: https://github.com/iawia002/annie PR: 243935 Submitted by: Lewis Cook <vulcan@wired.sh> Approved by: mentors (implicit) Changes: head/www/Makefile head/www/annie/ head/www/annie/Makefile head/www/annie/distinfo head/www/annie/pkg-descr
Committed, thanks!