Skip to content

Files

Latest commit

40f9924 · Mar 4, 2025

History

History
27 lines (16 loc) · 889 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 889 Bytes

scarf down text from teams to a file

dependencies:

sudo snap install chromium-chromedriver

todo: allow connection to an already connected chrome browser. Is it possible? https://stackoverflow.com/questions/8344776/can-selenium-interact-with-an-existing-browser-session

for now it can manually connect to a started selenium session by editing the session url/id in the code. This saves the trouble of authentication, etc. while debugging.

todo: don't dump until you trigger with a keystroke

done: put on github

todo: add undetected-chromedriver (as a matter of principle because microsoft is likely to prevent scraping eventually)

References: https://stackoverflow.com/questions/62587174/export-chat-messages-in-microsoft-teams-channels-programmatically-to-word-or-pdf

https://github.com/gildas-lormeau/single-file-export-chat

https://github.com/evenevan/export-ms-teams-chats