Skip to content

Instantly share code, notes, and snippets.

@kjaymiller
Last active December 5, 2020 20:26
Show Gist options
  • Save kjaymiller/4a9f975cd7dfb26ec0b3cf582a9a7552 to your computer and use it in GitHub Desktop.
Save kjaymiller/4a9f975cd7dfb26ec0b3cf582a9a7552 to your computer and use it in GitHub Desktop.
Parsing links from zoom chat
"""
Instructions:
Download the Zoom Chat before the meeting ends and save it to the directory (the name is the default).
TODO: Make a CLI script and allow for custom input file.
"""
from validators.url import url
with open('meeting_saved_chat.txt') as f:
links = []
lines = f.readlines()
for line in lines:
for phrase in line.split(' '):
if url(phrase):
links.append(phrase.strip())
for link in links:
print(link)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment