Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

296
Views
Cómo iniciar sesión en Discord usando token y selenio (python)

Escribí un código en Python usando el modelo de selenium para iniciar sesión en discord por número de token .

el número de token debe agregarse a localStorage , así que ejecuté el código javascript para agregar el token y se agregó, pero cuando voy a Aplicación -> localStorage -> https://discord.com No puedo ver la clave del token y su valor. Incluso cuando actualizo la página, no puedo iniciar sesión, pero cuando la agregué manualmente, puedo iniciar sesión cuando actualizo la página.

Nota: utilicé esta línea de código para agregar token a localStorage

 driver.execute_script('return window.localStorage.setItem("token", "value");')

Cualquier ayuda sería apreciada.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Usar

 function login(token) { setInterval(() => { document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` }, 50); setTimeout(() => { location.reload(); }, 2500); } login(token);

Dentro del selenio execute_script()

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!