Created attachment 211418 [details]
Command-line video downloader written in Go,
supporting over 20 sites and includes features
such as resumable downloads, multiple downloads
* No errors reported with portlint, built in Poudriere and
application works as expected (logs attached).
Created attachment 211419 [details]
* 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 . Until it's addressed upstream there isn't unfortunately much we can do. :(
(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  from the repository.
Dispite it's name it supports a lot more,
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.
(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]
* Update to 0.10.1.
Created attachment 215279 [details]
* Poudriere testport log.
The latest release (0.10.1) have fixed the remaining issues aforementioned.
A commit references this bug:
Date: Sun Jun 7 06:36:04 UTC 2020
New revision: 538144
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
Submitted by: Lewis Cook <email@example.com>
Approved by: mentors (implicit)