API to download MS Teams video recordings - azure

Is there any programmatic way to access and download the already-stored video recordings from MS Teams? I have been reading MS Graph API documentation, but could not find anything related to this.

There is no specific API or chrome extension for this but it is possible using destreamer. Prerequisite: Node 8.0 or higher
Steps for downloading the video:
Download zip files of these repositories Destreamer Youtube-dl
Now in a new folder copy all the contents of these repositories. The folder structure is like Folder Structure. Do not worry about files with same names as they are not important. So when windows asks you to decide what to do just skip it.
Download ffmpeg as described in this link ffmpeg download. Also add it to the environment variables as described in this link.
Download chromium from this link chromium and just paste the folder present in zip file anywhere.
In the folder described in step 2 open src/destreamer.ts and edit code as code edit on line 55 in the pic and replace the path with your own chromium path.
Open cmd and navigate to the main folder that we created in step 1 and run npm install. After successful installation of node_modules run npm run build. After successful build run
destreamer.cmd -i "https://web.microsoftstream.com/video/VIDEO-1". (You need double quotations for link). This will launch chromium and ask you to login. Enter your MS account credentials. On successful login your download will start.
Note: In powershell you need to write ./destreamer.cmd instead of destreamer.cmd. In linux you need to write ./destreamer.sh.
You can also refer to destreamer github repository described in step 1 for other download options such as custom path download, re-encode, different format, etc.

Video recordings in Teams are actually stored in Microsoft Stream (another one of the services in Office 365) but unfortunately there's currently no API for accessing Stream itself (it's on the roadmap for release later this calendar year, see here (page 2 at the moment).

I couldn't open download link from provided FFMPEG instruction, found release for windows here:! instead. The rests have no issues.
Decided to it add like an answer, because it can be a temporary issue from my side.
Please consider provided link as an alternative/additional.

Related

What is the best way to retrieve a single folder from a github repository in a python script?

I need to download a single folder from a github repository in a Python 3 script.
Listing all raw file URLs to download is tedious and eventual new files would need to be added manually
Downloading the whole repository as zip takes rather long; there are lots of unneeded files. [This how I do at the moment]
I have read about web services that do what I would need, such as downgit.github.io, but the problem is that generating the relevant URL and fetching it via urllib.request.urlretrive() downloads the website rather than the actual file.
What can I do? Is there a web service that provides raw file links that I can download as described above?
I just found a solution: The ffspec library may be used to download a single folder from a GitHub repository using Python. See https://sebastianwallkoetter.wordpress.com/2022/01/30/copy-github-folders-using-python/

How to upload many Android projects in the same github repository?

I have some related Android projects that I want to upload to github to be all in 1 repository the same as in this picture , I tried to upload the projects manually by drag and drop on github website but it failed to upload showing me this message "Yowza, that’s a lot of files. Try again with fewer than 100 files." as shown in the picture below
Please list all possible solutions and note that I'm not familiar with git command line. If it's not possible please list other alternatives to group related projects in one place on github. Thanks
IMHO, best way to do so is by uploading fewer files (e.g. 50).
After that, you can then upload the remaining (e.g. 50) files. 🙂
Now I know how to do it.
1- open github website and go to the desired repo.
2- click add file and then upload files.
3- open your Android project in explorer.
4- delete the build folder which is inside the app folder in your project.
5- drag your project and drop it in github upload window.
for detailed steps you can follow this tutorial

Where to extract sources-27_r01.zip?

I'm manually downloading every android studio components as the software itself always fails to do so.
I've nearly completed fixing everything but two.
enter image description here
Of the two, android studio tries to download sources-27_01.zip first. The 35.3MB one.
enter image description here
I manually downloaded it with the link. But I can't figure out where to place it.
I've tried placing in in various places with names in \AppData\Local\Android\Sdk\sources but with no success.
Did you try to extract all files from sources-27_01.zip to \AppData\Local\Android\Sdk\sources\android-27 ?
When you are downloading sources for some API (I see that you downloading sources for 27 API) it creates inside sources folder, folder for each API sources.
Here is a list of folders and files inside my path \AppData\Local\Android\Sdk\sources\android-25

linux (CLI) download files via shared dropbox (folder`) link without a account

I was thinking to use dropbox to upload my source code of a web-application. For this folder i would create a shared link. This link i like to use to download all the latest source files on my test server (instead of using s/FTP).
Now i know you can use dropbox with linux by installing their version, but it requires to create account. I don't want to use a account, and for sure don't want to use my own account.
Is there anyway to use a shared (folder) link, and download all the files in that folder command-line, without a account (maybe something like wget) ? There is no need for live-syncing, it would be fine to trigger the download with some bash script.
Thanks.
If you're ok with your links being public (which i think is not a good idea) , then you can just create a file with a list of links to your files and then create a bash script to loop over each line of the file get the link with wget
If you want to use authentication, you'll have to register for a Dropbox API key and then create a script (in python,ruby or java etc) to authenticate and get the files.
If you don't have a specific need for dropbox, i'll recommend you use git (or similar). With git you'll just have to create the repository on your server and clone it on your desktop. Then you can just edit your files and push it to the server.... it's so much easier.
Rogier, github has become the norm for hosting code. There are other options (Sourceforge, Google Code, Beanstalk) or you can set up a private git repository on your own computer.
Somewhere deep in my browser history there's an article about how to do that.
However a little googling turned up http://news.ycombinator.com/item?id=1652414. Let me know if you can't find some satisfactory instructions on your own of how to set up a git repo on your computer.

How to download/checkout a project from Google Code in Windows?

How do I download a ZIP file of an entire project from Google Code when there are no prepared downloads available?
This is what I see on the checkout page:
Command-line access
Use this command to anonymously check out the latest project source code:
svn checkout http://myproject.googlecode.com/svn/trunk/ myproject-read-only
But I'm working on Windows and I don't have the svn binaries ... do I need these?
I can access individual source code file or view the Subversion HTML pages, but that just allows me to access source code files one-by-one.
If you don't want to install anything but do want to download an SVN or GIT repository, then you can use this: http://downloadsvn.codeplex.com/
I have nothing to do with this project, but I just used it now and it saved me a few minutes. Maybe it will help someone.
If you install TortoiseSVN you can use SVN under windows. It also gives you the SVN binaries. You needn't do the checkout from the command-line though as it integrates into Windows Explorer for you.
If you don't want to install TortoiseSVN, you can simply install 'Subversion for Windows' from here:
http://sourceforge.net/projects/win32svn/
After installing, just open up a command prompt, go the folder you want to download into, then past in the checkout command as indicated on the project's 'source' page. E.g.
svn checkout http://projectname.googlecode.com/svn/trunk/ projectname-read-only
Note the space between the URL and the last string is intentional, the last string is the folder name into which the source will be downloaded.
Thanks Mr. Tom Chantler
adding that to get the exe http://downloadsvn.codeplex.com/ to pull the SVN source
just note that suppose you're downloading the below project:
you have to enter exactly the following to donwload it in the exe URL:
http://myproject.googlecode.com/svn/trunk/
developer not taking care of appending the h t t p : / / if it does not exist.
Hope it saves somebody's time.
Another simple solution without the TortoiseSVN overhead is RapidSVN. It is a lightweight open-source SVN client that is easy to install and easy to use.
The Download SVN tool did also work quite well, but it had problems with SVN repositories that don't provide a web interface. RapidSVN works fine with those.
If you have a github account and don't want to download software, you can export to github, then download a zip from github.

Resources