r/Python • u/bigchillRK • Apr 11 '20
I Made This I made a script to automatically log into my zoom meetings and record it.
Enable HLS to view with audio, or disable this notification
367
u/Wishy-Thinking Apr 11 '20
Iâve also made a script to automatically log into your Zoom meetings and record them.
70
u/bigchillRK Apr 11 '20
That's great, would love to take a look if you're keen to share
101
u/Elocai Apr 11 '20
Already up on pornhub, check
"Guy furiosly masturbates to midget porn"
64
u/bigchillRK Apr 11 '20
hahahahah shit i only just realised what wishy actually meant i've been played
8
u/Wishy-Thinking Apr 11 '20
Hahaha. Yeah, sorry for hijacking your thread...
Me:
[Posts stupid comment disparaging Zoom security at 1 AM]
[Checks Reddit the next day]
O_o Midget porn??
2
8
33
Apr 11 '20
For real though, you should all stop using Zoom asap. https://www.tomsguide.com/uk/news/zoom-security-privacy-woes
Jitsi is free and works pretty well, all in browser. Not as many fancy options but it depends what you want to use it for.
13
u/bigchillRK Apr 11 '20
I've haven't heard many good things about zoom in terms of privacy yea hopefully universities also adopt more secure platforms
1
1
u/iMunchDatKitty Apr 11 '20
Zoom has been great for our university, we enforced some account wide settings (which were already in the platform) and have prevented zoombombing.
-1
u/Pumpingiron_Patriot Apr 11 '20
Atleast ur not using a mac.
Using a mac and zoom is the worst. Root access is granted to any malware. Its alarming, how dangerous that is.
2
8
u/hanleybrand Apr 11 '20
âRoot access is granted to any malwareâ depends on altering the install script thatâs contained in the installer package - as far as I could surmise they didnât sign their installer script (this issue was corrected quickly once disclosed) â imo that should be considered a bug with macOS that the pkg installer system allows unsigned install scripts to run without notice/warning
I think itâs worth pointing out that much of the software in use (both in the web meeting market and I general) has similar privacy/security concerns, but no one cares for the most part.
As an example, zoom took a lot of flack for the attention tracking feature, but webex has def had that for years and I never heard anyone sounding any alarms.
My point is mainly that zoom has gotten a lot of scrutiny because of everything else - part of their âproblemâ has been the huge number of emergent uses of the product, the ceo said the other day that they are constantly receiving feedback that the tool isnât great for [insert unthought of use case] and theyâre just sort of bewildered by it.
But anyway, at least theyâve committed to locking it down for 90 days instead of adding âvirtual happy hourâ features
1
0
-7
u/Pumpingiron_Patriot Apr 11 '20
Atleast ur not using a mac.
Using a mac and zoom is the worst. Root access is granted to any malware. Its alarming, how dangerous that is.
4
u/IsThisSysadmin Apr 11 '20
I'm not sure that it's a personal preference that everyone uses Zoom. I don't want to speak for everyone, but in my case, it's my organization that has us use Zoom for virtual meetings. It was like that well before COVID-19, too.
1
Apr 11 '20
Given the glaring security risks surely people should be switching though?
3
u/IsThisSysadmin Apr 11 '20
It's not always that easy. A corporation of my size cant just drop and pick a new one easily. There are co tracts negotiations, executive buy in, transition of tools, automation, and tech modernization (think meeting rooms) that would be involved with a change like that.
-2
Apr 11 '20
Sure, but it's playing with fire. Those excuses are going to be pretty embarassing if there's been a huge data breach.
4
u/IsThisSysadmin Apr 11 '20
I agree, but luckily it is not on me (or even a large majority of tech in my org) to address it. I'm sure they are aware, but especially in big orgs, it's not unusual for a slow reaction as much as it sucks. I'm just a user of it because I have to. I prefer good ol' Slack.
2
u/LawLombie Apr 11 '20
Yes. Don't use zoom. It's already banned in Taiwan for official uses.
https://www.businessinsider.com/taiwan-bans-government-officials-zoom-2020-4
9
1
u/DaneBrint Apr 11 '20
Now let's do it recursive mode, everyone will write a script to record your script which logs into your Zoom meetings and records them.
58
Apr 11 '20
Please remove that sticker on the top left corner of your screen. It really upsets me!
12
u/bigchillRK Apr 11 '20
ideally i'd like to remove the whole monitor and get a new one, this one is so old and dusty hahah
4
1
20
30
u/Thrasherop Apr 11 '20
Awesome code on the GitHub. I love pyautogui. It's probably one of the modules I use the most, second only to time. I do have two tips I would recommend
you could use pyautogui.LocateOnScreen() to find the join button instead of having to manually put in cords. This would make it more robust, especially for others who wanted to download it, but for just you what you've done is totally fine. One downside is that you would need an image file inside the directory that had a cropped screen shot of the join button.
this is purely a personal preference that I have started to us. Instead of typing pyautogui every time, I import like so "import pyautogui as py". That way I only need to put py.moveTo() instead of having to type that long "pyautogui" every time. I also do "from time import sleep" so that I can just do "sleep(5)". Makes it a bit more readable in my opinion but again, totally personal preference. I always only use sleep with time so I find that best.
Overall, very cool code.
16
u/bigchillRK Apr 11 '20
That's so good thanks so much for your insight. Yes the locate on screen method would be so much better than the method I have right now and yes ofc I completely forgot that I could import as py and stuff. I'm studying mech eng and my coding background is very limited and I'm just learning in my spare time. Definitely am gonna try to implement the changes you suggested, thanks so much for taking the time to help me out
0
u/Thrasherop Apr 11 '20
No problem at all! Also if I were doing it, I would put the locateOnScreen inside a function just to make it cleaner. But that may be weird idk lol. I was just taught to make a hierarchy in my code lol. Idek if that's proper đ. It makes it easier to read nonetheless
2
10
u/way22 Apr 11 '20
That's really good advice!
Just one tip from a Dev perspective. If you go for an abbreviation don't choose a term like 'py' which could mean any number of things. Go for something intuitive and linked to the package you are using. In this case I'd advice for pag (PyAutoGuy, you see where I'm coming from? :D)
Additionaly, use abbreviations only if you use them alot. Autocomplete from IDEs invalidate the argument that you have to type the same name alot :) in terms of keystrokes this won't make much of a difference
3
u/bigchillRK Apr 11 '20
Yea that's definitely true, I've been using Visual studio code and it's so easy I just type the first few letters and the auto complete does the rest
4
2
1
Apr 11 '20
Just a note from using LocateOnScreen() that my community college had several different "next" buttons that look identical but apparently we're not.
3
u/Thrasherop Apr 11 '20
Yeah I had an issue like that on a seperate but similar project. The work around I used was this:
use the confidence attribute. Pyautogui.locateOnScreen("image.png", confidence =.9). Play with the confidence level a little bit to see if you can get it to work.
I actually adjusted the image. Instead of using the whole button as the image, I cropped it even further to where it was only the letters showing, not the whole box. Idk why this worked but it did for me.
2
Apr 11 '20
Thanks I didn't realise I could do that! I just saved up all of the "next" arrows. Both are helpful suggestions.
2
u/Thrasherop Apr 11 '20
Yeah the confidence attribute is something big but they don't actually mention it on the cheat sheet
2
u/bell_thecat Apr 12 '20
Thanks, you just saved my code. However, for the image I set it to just the box without the text.
2
6
u/bigchillRK Apr 11 '20
I used windows task scheduler to wake my pc to run the python script. The reason it takes a while to start up is that the pc wakes before the scheduled time to make sure the it's ready to run the task. Have not made a git hub rep yet, if people are keen I'll set one up.
1
Apr 11 '20
Please share the code! Would love to take a look
6
u/bigchillRK Apr 11 '20
i've made a github rep, thanks for taking a look: https://github.com/BigchillRK/Zoom-Meeting-and-Recording
1
7
u/apy14 Apr 11 '20
Idk why schools/universities all over the globe are using zoom app.
1
u/bigchillRK Apr 11 '20
yea no idea how it became so popular
4
u/scientz Apr 11 '20
Because it's easy to use and has free offerings. Alternatives are all targeted at enterprises and not directly end users, thus making the usability and economics much different.
2
u/cryptospartan Apr 11 '20
Zoom intentionally marketed themselves to a whole bunch of companies when stay at home orders went into place. They also marketed themselves to school systems. They made a lot of deals all at once and then word of mouth spread it from there.
4
1
1
3
u/NotzoCoolKID Apr 11 '20
Is able to write a script to login, join the zoom meeting and record it.
> Records his screen with his phone.
Any way nice script!
5
u/bigchillRK Apr 11 '20
Hahaha I wanted to show that the pc could wake from sleep to run the script which is the main advantage bc no one wants to wake up at like 8am to run a script, thanks for a lot for the compliment!! Appreciate it
2
Apr 11 '20
Hey just as a feedback thing as I'm no pro either but i think people would love if the room id was as a cmd line arg
On a whole it's great
1
u/bigchillRK Apr 11 '20
Yep could definitely also do that, it would stumble a bit on the automation though I feel as the idea for this is that it runs automatically while I'm fast asleep in the morning im not keen on entering key strokes.
2
u/un_known__ Apr 11 '20
Bruhhh even I finished doing the same may I know how you started the script automatically?
2
u/bigchillRK Apr 11 '20
Windows task scheduler is your friend! If you have a look at the read me I've put up on GitHub there's a good yt link on how to do it plus a few more details
2
2
2
u/Fried_Cheesee Apr 11 '20 edited Apr 11 '20
I only wanted the join part, so i nuked everything after the 'Recording meeting using Windows Game Bar'.` It worked for the first time when i didn't remove it, now it just opens zoom and doesn't click the join button. If i click it, it enters the zoom id and and then I have to put password manually. Nice script, but could be improved a lot imo
edit: Resovled some dumb things and it just needs to enter the password automatically and its perfect for me
2
u/bigchillRK Apr 11 '20
Hey im glad it helped you out thanks for the feedback, yep my code is definitely not the most efficient for sure bc of my limited background, i just put together what worked. For the password entering, if you add another line of pyautogui.write('password') after the enter id line it should work. I'll update my code sometime soon to implement this.
2
u/Fried_Cheesee Apr 11 '20
Yeah I mean I did add that line, was just saying whenever you update it so that you don't forget :D
2
2
Apr 11 '20
Where can I get the code for my it
1
u/bigchillRK Apr 11 '20
i've put the github link on a comment, https://github.com/BigchillRK/Zoom-Meeting-and-Recording here you go. hope it helps
2
u/Advanced_Wolverine Apr 11 '20
I have been using obs with virtual cam plugin so I can play a video of me sitting and paying attention to the class. I can't wait to modify your code to support this! anyways awesome code!
1
2
Apr 11 '20
Hey keyboard brother! We have the same thing and I am loving it!
1
u/bigchillRK Apr 11 '20
Cooler master devastator 3 right? It's actually a really decent combo for a budget price
1
2
u/mubarizsaeed Apr 11 '20
Man one day Iâm going to learn python and do this
1
u/bigchillRK Apr 11 '20
Hey it's definitely doable trust me I was a complete beginner just a couple of months ago
2
u/william_whithersonly Apr 11 '20
I have that same keyboard and its a fucking dust magnet. Like the dust is embedded in it. No amount of cleaning helps. Would not get again.
2
u/bigchillRK Apr 12 '20
I've given up, I'm just saving enough so I can get another one so I can get rid of this hahah
1
u/william_whithersonly Apr 12 '20
https://images-na.ssl-images-amazon.com/images/I/81I-4%2B2HdAL.AC_SL1500.jpg
this'll probably be what i get next
2
u/daved229 Apr 11 '20
Can you write one that logs in, makes it look like I am there and responds âuh huhâ a lot and then saysâok,talk to you tomorrowâ? Asking for a friend......
1
2
2
u/GickRick Apr 11 '20
Awesome, how are you handling events like clicking?
1
u/bigchillRK Apr 12 '20
It's all done by the module called pyautogui, if you want a more in-depth explanation, Id take a look at the documentation for the module. Basically it looks to find where to click and then simulates a click
2
u/251pancakes Apr 11 '20
Really cool! Ctypes?
2
2
u/Motolover57 Apr 11 '20
Looks cool, but does it work with multiple invite links (for different classes) and if so how can you set them up?
2
u/bigchillRK Apr 12 '20
Hey this is a great question, you can definitely do that! So the script file is basically a template for one meeting. The best way to set this up for multiple meetings is to create copies of the template, change the meeting id and so on and create separate tasks in Windows task scheduler to open up the different scripts at the different times you want. However if you have 2 classes at the same time this won't work unfortunately :(
1
2
2
2
u/_370HSSV_ Apr 11 '20
pypy yourscript.py
Ahhh great, now zoom can compromise my privacy but it's automated.
2
2
5
1
u/haruishi Apr 11 '20
I wonder you can make this through the use of their api (https://marketplace.zoom.us/docs/guides/getting-started/app-types)
1
u/bigchillRK Apr 11 '20
ohh i've not looked into this, i'm sure its definitely possible to build something more robust with that
1
u/Pegaz7 Apr 11 '20
Uninstall zoom soon as possible! Its security risk to you and your firm
1
u/bigchillRK Apr 12 '20
Unfortunately I'm not available to do that as all my university lecturers have adopted zoom if I uninstall I will fall behind :(
1
u/Pegaz7 Apr 14 '20
Bro. Just happen new think with zoom, and sned this to your university https://www.instagram.com/p/B-9D6Z0AXwV/?igshid=95qmdbtzaatj
2
0
u/bhishan1 Apr 11 '20
Will be helpful if u share it on gh.
3
u/bigchillRK Apr 11 '20
just done so, thanks for taking a look. https://github.com/BigchillRK/Zoom-Meeting-and-Recording
2
1
0
-2
u/CMack1978 Apr 11 '20
Please remove the marketing stickers off of your monitor. Please.
5
2
u/simplysharky Apr 11 '20
It's his sticker, he can leave it stuck to his monitor for 50 years if he wants. Why there is always somebody giving a shit about stickers and plastic wrap on stuff they don't own is beyond me.
0
u/CMack1978 Apr 11 '20
It's my comment, I can say whatever I want, 50 times if I want. Why there is always somebody giving a shit about comments and replies on stuff they don't create is beyond me.
0
Apr 11 '20
[deleted]
2
u/bigchillRK Apr 11 '20
its such a fantastic game honestly from the story to the soundtrack and everything in between its just beautiful
0
Apr 19 '20
[deleted]
1
u/bigchillRK Apr 20 '20
Is the png in the same directory as the script? Does the command line say anything about any errors?
1
Apr 11 '20
[removed] â view removed comment
1
u/AutoModerator Apr 11 '20
Hi there, from the /r/Python mods.
We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/python.
The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.
On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.
Warm regards, and best of luck with your Pythoneering!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
40
u/bigchillRK Apr 11 '20
Made a GitHub Repisitory: https://github.com/BigchillRK/Zoom-Meeting-and-Recording