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

ความคิดเห็น • 147

  • @YourAverageTechBro
    @YourAverageTechBro  ปีที่แล้ว +66

    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

    • @user-vn4jw3ch8w
      @user-vn4jw3ch8w ปีที่แล้ว +3

      how is this automation when you just effectively use web driver lib and parse your input on terminal into browser ?

    • @lesibamalebana1854
      @lesibamalebana1854 ปีที่แล้ว +1

      Thank you for some good staff, please recommend me any course on Udemy for Python Automation ?

    • @abhishekarya7915
      @abhishekarya7915 5 หลายเดือนก่อน

      really impressive

    • @alexhamilton3522
      @alexhamilton3522 2 หลายเดือนก่อน

      says video is private?

    • @curiocatalystshorts
      @curiocatalystshorts หลายเดือนก่อน

      How do you guys open YT vids from a comment like this? 👆🤣

  • @myleswolfe5139
    @myleswolfe5139 ปีที่แล้ว +373

    This could be expandable to work with the chatgpt api, and possibly bing chat if there’s a way to feed it text.

    • @pacersgo
      @pacersgo ปีที่แล้ว +62

      You can ask chatgpt how to do it

    • @jonthemonke
      @jonthemonke ปีที่แล้ว +4

      I made this in rust

    • @nikitafriesen3778
      @nikitafriesen3778 ปีที่แล้ว +15

      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

    • @raracool04
      @raracool04 ปีที่แล้ว +2

      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.

    • @cyrusmobini1321
      @cyrusmobini1321 ปีที่แล้ว +4

      CopilotX was introduced a few days ago which has GPT built-in terminal

  • @KunjaBihariKrishna
    @KunjaBihariKrishna ปีที่แล้ว +133

    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.

    • @yourface2616
      @yourface2616 9 หลายเดือนก่อน +2

      Too funny

  • @metcaelfe
    @metcaelfe ปีที่แล้ว +17

    "Software engineer over-engineers launching browser"

  • @12crenshaw
    @12crenshaw ปีที่แล้ว +133

    So basically you've automated clicking on chrome icon?

    • @rob4187
      @rob4187 ปีที่แล้ว +13

      It’s easy if you’re already working in the terminal :p

    • @MUSTAFK
      @MUSTAFK ปีที่แล้ว +8

      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

    • @georgek2092
      @georgek2092 ปีที่แล้ว +5

      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.

    • @Ich.sou.gaymer
      @Ich.sou.gaymer 11 หลายเดือนก่อน

      I guess it is more common to let a browser open, and it also has suggestions

    • @danielboczar7530
      @danielboczar7530 6 หลายเดือนก่อน

      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.

  • @libruhh2785
    @libruhh2785 ปีที่แล้ว +92

    You don’t need to spin up a webdriver, you can just open the link and let the OS handle it

    • @bruhpoop9396
      @bruhpoop9396 ปีที่แล้ว +1

      then headless is out the window

    • @libruhh2785
      @libruhh2785 ปีที่แล้ว +2

      @@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.

  • @youropiniondoesnotmatter
    @youropiniondoesnotmatter 10 หลายเดือนก่อน +5

    Yuhhhh the algorithm has finally landed on something worth learning. Thank you for this!

  • @inues
    @inues ปีที่แล้ว +29

    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.

  • @amodseth8448
    @amodseth8448 ปีที่แล้ว +8

    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

  • @shr4pnel
    @shr4pnel ปีที่แล้ว +4

    with chromium based browsers you can just add the executable directory to PATH and pass the url in as the argument

  • @AlwaysBored1
    @AlwaysBored1 6 หลายเดือนก่อน

    I'm new to programming looking forward to understanding this some day 😊

  • @Flowermouth
    @Flowermouth ปีที่แล้ว +2

    I had a function in my PowerShell profile which did the same, super useful

    • @XwolfBane18
      @XwolfBane18 ปีที่แล้ว

      Mind sharing the function

  • @yassinesafraoui
    @yassinesafraoui ปีที่แล้ว +1

    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

  • @usuiXt
    @usuiXt ปีที่แล้ว +2

    This is awesome, nice coding

  • @mangelozzi
    @mangelozzi ปีที่แล้ว +4

    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

    • @andrewferguson6901
      @andrewferguson6901 ปีที่แล้ว +1

      Or just alt tab and ctrl t for a new tab... 🤦‍♂️

    • @neelg7736
      @neelg7736 ปีที่แล้ว

      U can run i3 on macOS?

  • @asceznyk
    @asceznyk ปีที่แล้ว

    Thank you so much! This is so awesome!

  • @enchantedplays7860
    @enchantedplays7860 ปีที่แล้ว +38

    Would you need to have the script constantly running so that the terminal is always being read?

    • @YourAverageTechBro
      @YourAverageTechBro  ปีที่แล้ว +30

      Nope. You activate the command every time you need to use it and then it shuts down afterwards.

    • @nikunjprajapati4761
      @nikunjprajapati4761 ปีที่แล้ว +7

      ​@@YourAverageTechBrothen isn't it easy to just open google then running the script everytime 🤦

    • @nikunjprajapati4761
      @nikunjprajapati4761 ปีที่แล้ว +2

      @putangina yeah i also realized that after watching the long format video.

    • @mmpm
      @mmpm ปีที่แล้ว +4

      You can add it to path and use it as normal script 🤓

    • @Joe-zg9eq
      @Joe-zg9eq ปีที่แล้ว +4

      @@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

  • @shadowplay1211
    @shadowplay1211 ปีที่แล้ว +2

    Or simply use curl

  • @luivcontatto7696
    @luivcontatto7696 ปีที่แล้ว +2

    Really useful 🙂

  • @deadchannel8431
    @deadchannel8431 ปีที่แล้ว +1

    This is rly cool but I feel like the Google search text completion is too good to not have

  • @washikuddinahmedmollah58
    @washikuddinahmedmollah58 ปีที่แล้ว +2

    Wow this is really cool.

  • @ishtarxdd
    @ishtarxdd ปีที่แล้ว

    ok the site filters part is hype ngl

  • @Hugh_de_Mortimer
    @Hugh_de_Mortimer ปีที่แล้ว

    You could just enter your query in search on the task bar.

  • @69k_gold
    @69k_gold ปีที่แล้ว

    For Windows the PATH variable will work like the alias keyword

  • @goldenslaughterer
    @goldenslaughterer ปีที่แล้ว

    there’s also a plug-in for that in z shell 😊

  • @seraph_86
    @seraph_86 ปีที่แล้ว

    Thats mad💯💯👍🏻

  • @DekritGampamole
    @DekritGampamole ปีที่แล้ว

    I just use gpt from my terminal through python. Many more interesting things can be done.

  • @alann6975
    @alann6975 ปีที่แล้ว

    Thank you

  • @thev01d85
    @thev01d85 ปีที่แล้ว

    Secondary monitor: Am I a joke to you?

  • @cluedaw89
    @cluedaw89 ปีที่แล้ว

    Hey would you mind telling me what that shell theme is called?

  • @shonebinu5583
    @shonebinu5583 ปีที่แล้ว +6

    Rewrite it in bash! ;)

    • @YourAverageTechBro
      @YourAverageTechBro  ปีที่แล้ว +3

      oh man...that's gonna be tough. Maybe in a follow up video haha

    • @aw1lt
      @aw1lt ปีที่แล้ว

      Rightt??

    • @shadowplay1211
      @shadowplay1211 ปีที่แล้ว

      ​​​@@aw1lt agreed, he should've been making it in bash

    • @clethcriss6258
      @clethcriss6258 ปีที่แล้ว

      @@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

  • @karthickb1973
    @karthickb1973 ปีที่แล้ว

    you are missing the autocomplete, autosuggestion

  • @raba650
    @raba650 ปีที่แล้ว

    Hmm, wonder if I could automate LinkedIn searches to find posts with keywords 😮🤔

  • @ilyababenko7884
    @ilyababenko7884 ปีที่แล้ว

    Introducing Alfred

  • @NathanHedglin
    @NathanHedglin ปีที่แล้ว

    So basically Alfred on Mac

  • @salmaanahamed4687
    @salmaanahamed4687 5 หลายเดือนก่อน

    Tutorial plz

  • @lesibamalebana1854
    @lesibamalebana1854 ปีที่แล้ว

    Thank you for some good staff, please recommend me any course on Udemy for Python Automation ?

  • @yukewang1832
    @yukewang1832 ปีที่แล้ว +2

    An SRE would've written a shell script :D

    • @user-ex2yt1pl6u
      @user-ex2yt1pl6u ปีที่แล้ว

      Hey, what's an SRE?

    • @yukewang1832
      @yukewang1832 ปีที่แล้ว +3

      @@user-ex2yt1pl6u Site Reliability Engineers

    • @user-ex2yt1pl6u
      @user-ex2yt1pl6u ปีที่แล้ว

      @@yukewang1832 Thank you.

  • @awli8861
    @awli8861 ปีที่แล้ว +1

    Bro forgot about Lynx

  • @MyTran-vb8tn
    @MyTran-vb8tn ปีที่แล้ว

    So cool

  • @SaceedAbul
    @SaceedAbul ปีที่แล้ว

    Why does this feel like a security concern

    • @irfandy8
      @irfandy8 ปีที่แล้ว

      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.

  • @compilererror
    @compilererror ปีที่แล้ว

    Nice 👍

  • @codewithash6011
    @codewithash6011 ปีที่แล้ว

    why you close your browser

  • @tiltedz6440
    @tiltedz6440 ปีที่แล้ว

    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

    • @arta6183
      @arta6183 ปีที่แล้ว +1

      why in java when you can do it in python

  • @designchifuyu
    @designchifuyu หลายเดือนก่อน

    run chrome on while loop

  • @andrewferguson6901
    @andrewferguson6901 ปีที่แล้ว +4

    Alt tab, ctrl t, start typing
    It's like 4 keypresses....

  • @sohailu8058
    @sohailu8058 ปีที่แล้ว

    If you’r already in the terminal just use bash man…

  • @enudemechukwuka6265
    @enudemechukwuka6265 ปีที่แล้ว +5

    My brain 🧠 as a beginner:
    🔥🔥🔥
    My mind: tf is he doing 😂💔

    • @vishal2713
      @vishal2713 ปีที่แล้ว

      Same here 😂

  • @chrism6880
    @chrism6880 ปีที่แล้ว

    Why do in 1 click what you could spend 30m writing a script to do for you?

  • @arcanelore168
    @arcanelore168 6 หลายเดือนก่อน

    Can you share the source code?

  • @yukimenclaavve8509
    @yukimenclaavve8509 2 วันที่ผ่านมา

    It is much more easy to open chrome then search

  • @ishanjain8033
    @ishanjain8033 ปีที่แล้ว

    Did it in nodejs

  • @Aegishjalmer
    @Aegishjalmer ปีที่แล้ว

    Get co pilot 😄

  • @0x933
    @0x933 ปีที่แล้ว

    Just use Surf.

  • @sylvesterdaniel6069
    @sylvesterdaniel6069 ปีที่แล้ว

    Cool

  • @Atanepes
    @Atanepes ปีที่แล้ว

    is it possible to make for C# or any other PL?

    • @andrewcgs
      @andrewcgs ปีที่แล้ว

      Why would you use C# for something like this tho

    • @Atanepes
      @Atanepes ปีที่แล้ว

      @@andrewcgs i just beginner thats why

    • @UnknownString88
      @UnknownString88 ปีที่แล้ว

      Yes you can do it in C# or any other language.

  • @Danny-wu5ct
    @Danny-wu5ct ปีที่แล้ว

    Thats funny my namw is Do Hyun Yoo bro

  • @ilyababenko7884
    @ilyababenko7884 ปีที่แล้ว

    Alfred ?? 😂
    Like it’s been done already??
    Like even spotlight can do this ??

  • @iftekharalammithu5128
    @iftekharalammithu5128 ปีที่แล้ว

    do you heard about chatgpt

  • @LiredDev
    @LiredDev ปีที่แล้ว

    Now next make it instead give you the answer you're looking for.

  • @anthonyrosario8982
    @anthonyrosario8982 ปีที่แล้ว

    Bro invest in screen capture technologies tf...

  • @ryanwalker4660
    @ryanwalker4660 ปีที่แล้ว

    wow...

  • @hidoryy
    @hidoryy ปีที่แล้ว

    of course there is medium in the sites lmao

  • @strange9737
    @strange9737 ปีที่แล้ว

    What do you use to program, do you need to download something?

    • @KurtGodel-po3zl
      @KurtGodel-po3zl ปีที่แล้ว +3

      If you're wondering about where he's writing the code, I think it looks like VS Code to me

    • @matt8ress
      @matt8ress ปีที่แล้ว

      visual studio code by microsoft. not built-in into operative system

    • @ieatmuchchicken
      @ieatmuchchicken ปีที่แล้ว +1

      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

  • @runaway09
    @runaway09 ปีที่แล้ว

    bash script >

  • @user-ku8iv2vh3p
    @user-ku8iv2vh3p ปีที่แล้ว

    bro used sys instead of just input()....
    p.s. ur not ugly

  • @wholesomeinspiration5153
    @wholesomeinspiration5153 ปีที่แล้ว +1

    Hey how are I can great idea I want to discuss that idea with you

  • @apocalypseblues3897
    @apocalypseblues3897 ปีที่แล้ว

    lynx

  • @MoFiTheMagnificent
    @MoFiTheMagnificent 5 วันที่ผ่านมา

    I want to get into programming but you guys make it look so lame sometimes. This is arguable slower lol.

  • @jimbo5437
    @jimbo5437 ปีที่แล้ว

    thanks for sharing something useful instead of a stupid "interview" video

  • @AzzMdA
    @AzzMdA ปีที่แล้ว

    You can publish it as a Chrome extension

  • @codyhaas1008
    @codyhaas1008 7 หลายเดือนก่อน

    Or leave google open in the background 😂
    ☝️ ( apple user )

  • @chupmunkx1
    @chupmunkx1 ปีที่แล้ว

    What theme is he using?

  • @magicbob8
    @magicbob8 ปีที่แล้ว

    Congratulations, you made google worse

  • @tonyliu8419
    @tonyliu8419 ปีที่แล้ว +1

    How about you learn how to do screen recording first?😂

  • @Allysroadtorecovery
    @Allysroadtorecovery 8 หลายเดือนก่อน

    What's the actual point of this? 😅

  • @lapispheonix7569
    @lapispheonix7569 ปีที่แล้ว

    how lazy do you gotta be lmao (nice)

    • @TheBoxtelnoord
      @TheBoxtelnoord ปีที่แล้ว +1

      Is lmao() a function? No? Ok, imma leave.

    • @soleil2816
      @soleil2816 ปีที่แล้ว +2

      ​@@TheBoxtelnoord yes and nice is a parameter

    • @2ndtwoarray934
      @2ndtwoarray934 ปีที่แล้ว

      Time is money

  • @sproutboot
    @sproutboot 6 หลายเดือนก่อน

    🗑