Articles

Blogging using Emacs Org Roam and Hugo

Situation There are not many software preferences in my list that I can not easily replace with alternatives due to how intuitive they feel. Org and Hugo are definitely among the top items of that list. Well, their integration, even though it has existed for a long time, is not the best out of the box. Also with the advancements of cross-article linking, I really wanted to have it in my new blog, which I’m going to use for daily blogging, and also publishing my long form notes and thoughts.

Fixing high resolution font aliasing for Wayland on NixOS

Problem With the progress on Wayland architecture and the usability of its software ecosystem, I’m adapting it more and more. This is quite easy to achieve these days, specially with NixOS friendliness of Hyprland. However, I had a weird issue with my Framework 13th’s high resolution monitor. The font’s on Chrome based applications were looking pixelated, and specially in high res, it wasn’t just the look of it which wasn’t appealing, but I was losing the readability.

Download Sharepoint and Teams videos

Problem I recently needed to download a Teams meeting’s recording from Sharepoint within my organization, and it wasn’t possible due to my access level. I knew from a while back, that there was an all in one solution called Sharedown which uses Puppeteer to trigger a browser in order to download the media from a Microsoft Team account. However, the related package on Nixpkgs for some reason couldn’t be installed on my system, and I didn’t have time to dig into it.

Download Sharepoint and Teams videos

Planted February 24, 2025
Categories: Quick Tips
Tags: yt-dlp , sharepoint , teams

Problem

I recently needed to download a Teams meeting’s recording from Sharepoint within my organization, and it wasn’t possible due to my access level.

I knew from a while back, that there was an all in one solution called Sharedown which uses Puppeteer to trigger a browser in order to download the media from a Microsoft Team account.

However, the related package on Nixpkgs for some reason couldn’t be installed on my system, and I didn’t have time to dig into it. So took my chances over internet, and the following is what I found.

Solution

The solution that worked for me, is mainly based on This Gist. First thing is to find the url to the manifest file of the video. This is the file that contains the urls to all parts of the video, and the web player will use it to download and play them.

To get the manifest URL, open the developer console on your browser (F12 is the fastest way), and then on Network tab, filter on videomanifest. The only url you see, is what you need.

Right click and copy this url. Note that you don’t need the full url. Use an editor (being a very long url, it’s the safest bet), and remove everything after the first occurrence of =dash. Then use yt-dlp as follows:

yt-dlp "URL up until (including) =dash" -o video.mp4

Give it some time, and it’ll take of the download. I’m not sure if the following behavior is general or limited to my case, but it first downloaded the audio and video in two separate files, and then merged them to a single file of ~450MB for 48 minutes.

Feedback