Code Monkey home page Code Monkey logo

Comments (15)

1337w0rm avatar 1337w0rm commented on May 26, 2024

It's already there.

from yeetmeet.

Arnold319 avatar Arnold319 commented on May 26, 2024

Which line

from yeetmeet.

1337w0rm avatar 1337w0rm commented on May 26, 2024

student function in meet.py and something similar in zoom.py I forgot the function name

from yeetmeet.

Arnold319 avatar Arnold319 commented on May 26, 2024

def joinMeet(context, url_meet):

def students(context):
    try:
        number = WebDriverWait(browser, 2400).until(EC.presence_of_element_located((By.XPATH, '//*[@id="ow3"]/div[1]/div/div[8]/div[3]/div[6]/div[3]/div/div[2]/div[1]/span/span/div/div/span[2]'))).text
    except:
        return
    print(number)
    if(int(number) <10):
        context.bot.send_message(chat_id=userId, text="Your Class has ended!")
        browser.quit()
        execl(executable, executable, "chromium.py")

2400 is the timeout?? That is 40 mins??

from yeetmeet.

1337w0rm avatar 1337w0rm commented on May 26, 2024

Yes. If it doesn't find the element it'll wait till 40mins. If it finds the element in between that time. The program will run fine. I added 2400s wait time because if you're using scheduler and Host doesn't admits you to the meeting. The no of participant element will not be found.

from yeetmeet.

Arnold319 avatar Arnold319 commented on May 26, 2024

Bro then where is the timeout because after every 20 minutes its shoeing the number i want it ti be set to 10

from yeetmeet.

1337w0rm avatar 1337w0rm commented on May 26, 2024

10 mins ?

Bro then where is the timeout because after every 20 minutes its shoeing the number i want it ti be set to 10

from yeetmeet.

Arnold319 avatar Arnold319 commented on May 26, 2024

Yes

from yeetmeet.

1337w0rm avatar 1337w0rm commented on May 26, 2024

scroll down you'll find j.run_repeating change the time there

from yeetmeet.

Arnold319 avatar Arnold319 commented on May 26, 2024

Ok thanks

from yeetmeet.

Arnold319 avatar Arnold319 commented on May 26, 2024

j.run_repeating(students, 20, 1000)
Is 20 in minutes here

from yeetmeet.

Arnold319 avatar Arnold319 commented on May 26, 2024

Sir can you tell

from yeetmeet.

1337w0rm avatar 1337w0rm commented on May 26, 2024

j.run_repeating(students, 20, 1000)

Change 1000 to 10mins in seconds.The first check here will be after 1000 secs of joining the meeting and after that it'll check it at 20s interval.

from yeetmeet.

Arnold319 avatar Arnold319 commented on May 26, 2024

j.run_repeating(students, 20, 600)

from yeetmeet.

Arnold319 avatar Arnold319 commented on May 26, 2024

Is this correct

from yeetmeet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.