Interesting - I think that YouTube may be mistaking my server as being from the UAE instead of the US.
The extractor works fine on this video, so I think that after all, it is a case of you and the server being detected as a different country.
Perhaps I can display a more helpful error message for this, but I don't know if that's possible due to browser restrictions.
At some point it will be possible to proxy video streams through the server, which should solve this problem.
Sorry I haven't gotten to this until now.
Whenever a timeline is loaded, the number of posts on the user is updated to the number of posts in that timeline. However, there are two timelines, post and IGTV.
This should be fixed by:
- Adding a field to the Timeline structure to hold the number of posts in that timeline -- https://git.sr.ht/~cadence/bibliogram/tree/master/src/lib/structures/Timeline.js#L31
- Updating the timeline's field here, and only updating the user's field if the current timeline is type
- Updating the user display code to show
I won't be actively working on Bibliogram for the forseeable future. You're welcome to try to make this change yourself as I directed!
- Installing a development version of Bibliogram: https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Installing%20%28basic%29.md#manually-if-youve-run-webservers-before
- Sending your changes: https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Submitting%20a%20patchset.md
Thanks for the report.
The relevant code is here:
You can detect if everything is a video using
post.children.every(c => c.isVideo())->
boolean. Problem is, galleries can have a mixture of pictures and videos. I'm not sure would be a good idea to display in that case.
I'm not actively developing Bibliogram, but this is an easy fix if you want to try it yourself. You only need to edit the post.pug file.
Instructions on how to set up a development environment are here: https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Installing%20%28basic%29.md#manually-if-youve-run-webservers-before