Build a python automation with me
ฝัง
- เผยแพร่เมื่อ 21 ก.พ. 2023
- Check out the Content Marketing Blueprint to learn how to market your SaaS product on social media: thecontentmarketingblueprint....
Get access to high quality coding projects that actually impress recruiters: www.sweprojects.com/
Check out all the gear that I use! kit.co/dohyunkim/desk-essentials
Follow me on TikTok: @youravergetechbro
Here's a video with a full step-by-step tutorial of how I built it: th-cam.com/video/6wwHv-cyOd0/w-d-xo.html
how is this automation when you just effectively use web driver lib and parse your input on terminal into browser ?
Thank you for some good staff, please recommend me any course on Udemy for Python Automation ?
really impressive
says video is private?
How do you guys open YT vids from a comment like this? 👆🤣
This could be expandable to work with the chatgpt api, and possibly bing chat if there’s a way to feed it text.
You can ask chatgpt how to do it
I made this in rust
There are plugins for ChatGPT API requests inside vim. I never have to leave my Editor, at this point I don't even use search engines let alone web browsers anymore
While the Bing AI thing would be fantastic, I doubt they’d do it because of money and also ethics reasons. What makes the web gui good ethically is that it cites its sources, so you can double check if the AI is wrong. The money part is that sometimes the links are sponsored.
CopilotX was introduced a few days ago which has GPT built-in terminal
I started programming 2 months ago. My favorite thing is to take something that takes 2 seconds to do, and write something so it only takes one second.
It's addictive.
Too funny
"Software engineer over-engineers launching browser"
story of my life
So basically you've automated clicking on chrome icon?
It’s easy if you’re already working in the terminal :p
I honestly dont see much improvement here for me personally, but I guess if you do a LOT of programming and googling i guess it can save you significant time? The only big upside i see is the certain websites filter, thats a nice touch
You've also cut out an easy source of procrastination if you're like me and think 'just one song before I solve this bug' when the solution isn't immediately apparent.
I guess it is more common to let a browser open, and it also has suggestions
Yeah, but starting from this, they could endlessly automate more selenium functions to interact with the system in brand new world of possibilities. Just a matter of time and will.
You don’t need to spin up a webdriver, you can just open the link and let the OS handle it
then headless is out the window
@@bruhpoop9396 Is it really all that headless if you're creating a chrome instance to make a google search? At that point you'd be much better off writing some kind of API interaction script. Regardless, in this video he is not attempting to do it headlessly.
Yuhhhh the algorithm has finally landed on something worth learning. Thank you for this!
If you're on Linux it's pretty easy to execute the same thing in bash. Just a one line and you can add it to bashrc or to a key command.
i actually made the same thing in my first year of college, slight update i suggest would add a args function to save the searches in the new folder
with chromium based browsers you can just add the executable directory to PATH and pass the url in as the argument
I'm new to programming looking forward to understanding this some day 😊
I had a function in my PowerShell profile which did the same, super useful
Mind sharing the function
I personally find hitting the alt tab to switch to the browser and hit ctrl t to open a new tab and search way faster than opening a new terminal, unless you already have a one open, in addition you don't get suggestions this way, so I prefer to not reinvent the wheel
Same
This is awesome, nice coding
Real issue is that you're not using i3wm, which would get you to a new browser tab with less key presses than starting ur script
Or just alt tab and ctrl t for a new tab... 🤦♂️
U can run i3 on macOS?
Thank you so much! This is so awesome!
Would you need to have the script constantly running so that the terminal is always being read?
Nope. You activate the command every time you need to use it and then it shuts down afterwards.
@@YourAverageTechBrothen isn't it easy to just open google then running the script everytime 🤦
@putangina yeah i also realized that after watching the long format video.
You can add it to path and use it as normal script 🤓
@@nikunjprajapati4761 not when you spend a shit ton of time in the terminal, which is what i do and am assuming the poster does as well
Or simply use curl
Really useful 🙂
This is rly cool but I feel like the Google search text completion is too good to not have
Wow this is really cool.
ok the site filters part is hype ngl
You could just enter your query in search on the task bar.
For Windows the PATH variable will work like the alias keyword
there’s also a plug-in for that in z shell 😊
Thats mad💯💯👍🏻
I just use gpt from my terminal through python. Many more interesting things can be done.
Thank you
anytime!
Secondary monitor: Am I a joke to you?
Hey would you mind telling me what that shell theme is called?
Rewrite it in bash! ;)
oh man...that's gonna be tough. Maybe in a follow up video haha
Rightt??
@@aw1lt agreed, he should've been making it in bash
@@YourAverageTechBro it isn't that difficult. I'm not a bash expert, but after 1 hour of try I ended up with a function that does the same trick for you
you are missing the autocomplete, autosuggestion
Hmm, wonder if I could automate LinkedIn searches to find posts with keywords 😮🤔
Introducing Alfred
So basically Alfred on Mac
Tutorial plz
Thank you for some good staff, please recommend me any course on Udemy for Python Automation ?
An SRE would've written a shell script :D
Hey, what's an SRE?
@@user-ex2yt1pl6u Site Reliability Engineers
@@yukewang1832 Thank you.
Bro forgot about Lynx
So cool
glad you enjoyed 🙂
Why does this feel like a security concern
I come to comment that it isn't.
Unless you run some script from web. But again those are some valid website, you probably ending up ruining your own directory tho.
Nice 👍
why you close your browser
Since we’re already past the “I can, but should I?” Rhetoric, let’s take it a step farther.
Redo it in Java and use selenium to parse through and find the most upvoted solution to your search. Package it as a deb so you Can call it through the terminal. GL
why in java when you can do it in python
run chrome on while loop
Alt tab, ctrl t, start typing
It's like 4 keypresses....
Auto filters the sites, fairly useful.
If you’r already in the terminal just use bash man…
My brain 🧠 as a beginner:
🔥🔥🔥
My mind: tf is he doing 😂💔
Same here 😂
Why do in 1 click what you could spend 30m writing a script to do for you?
Can you share the source code?
It is much more easy to open chrome then search
Did it in nodejs
Get co pilot 😄
Just use Surf.
Cool
is it possible to make for C# or any other PL?
Why would you use C# for something like this tho
@@andrewcgs i just beginner thats why
Yes you can do it in C# or any other language.
Thats funny my namw is Do Hyun Yoo bro
Alfred ?? 😂
Like it’s been done already??
Like even spotlight can do this ??
do you heard about chatgpt
Now next make it instead give you the answer you're looking for.
Bro invest in screen capture technologies tf...
wow...
of course there is medium in the sites lmao
What do you use to program, do you need to download something?
If you're wondering about where he's writing the code, I think it looks like VS Code to me
visual studio code by microsoft. not built-in into operative system
Notepad is a pretty good coding place for professionals , but its mainly only used by the best of the best so I recommend Microsoft PowerPoint for now to be honest
bash script >
bro used sys instead of just input()....
p.s. ur not ugly
Hey how are I can great idea I want to discuss that idea with you
lynx
I want to get into programming but you guys make it look so lame sometimes. This is arguable slower lol.
thanks for sharing something useful instead of a stupid "interview" video
You can publish it as a Chrome extension
Or leave google open in the background 😂
☝️ ( apple user )
What theme is he using?
Congratulations, you made google worse
How about you learn how to do screen recording first?😂
What's the actual point of this? 😅
how lazy do you gotta be lmao (nice)
Is lmao() a function? No? Ok, imma leave.
@@TheBoxtelnoord yes and nice is a parameter
Time is money
🗑