Tu Nombre commited on
Commit
566ef9f
1 Parent(s): f0438c2

boton youtube a los 3 min

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -581,7 +581,7 @@ p{{color:#888;font-size:.95rem;line-height:1.6;margin-bottom:12px;}}
581
  <div style="background:#1a1a00;border:1px solid #D4AF37;border-radius:8px;padding:12px;margin-bottom:12px;font-size:.85rem;color:#D4AF37;text-align:left;">
582
  鈿狅笍 <b>Aviso normal de Google:</b> Ver谩s "App no verificada". Es seguro. Pulsa <b>"Configuraci贸n avanzada"</b> y luego <b>"Ir a TubeBot (no seguro)"</b>. Es porque la app a煤n est谩 en revisi贸n por Google.
583
  </div>
584
- <a href="/oauth-youtube?email={email}" id="yt-btn" target="_blank" class="btn" style="display:block;background:#ff0000;margin-bottom:12px;">馃摵 Conectar YouTube</a>
585
  <a href="{url}" class="btn" id="enlace" target="_blank" style="display:none;">馃殌 ENTRAR A MI CANAL</a>
586
  </div>
587
  <script>
@@ -607,6 +607,7 @@ async function checkReady() {{
607
  }} catch(e) {{}}
608
  }}
609
  const checkInterval = setInterval(checkReady, 15000);
 
610
  setTimeout(function(){{window.location.href=url;}}, 270000);
611
  </script>
612
  </body>
 
581
  <div style="background:#1a1a00;border:1px solid #D4AF37;border-radius:8px;padding:12px;margin-bottom:12px;font-size:.85rem;color:#D4AF37;text-align:left;">
582
  鈿狅笍 <b>Aviso normal de Google:</b> Ver谩s "App no verificada". Es seguro. Pulsa <b>"Configuraci贸n avanzada"</b> y luego <b>"Ir a TubeBot (no seguro)"</b>. Es porque la app a煤n est谩 en revisi贸n por Google.
583
  </div>
584
+ <a href="/oauth-youtube?email={email}" id="yt-btn" target="_blank" class="btn" style="display:none;background:#ff0000;margin-bottom:12px;">馃摵 Conectar YouTube</a>
585
  <a href="{url}" class="btn" id="enlace" target="_blank" style="display:none;">馃殌 ENTRAR A MI CANAL</a>
586
  </div>
587
  <script>
 
607
  }} catch(e) {{}}
608
  }}
609
  const checkInterval = setInterval(checkReady, 15000);
610
+ setTimeout(function(){{document.getElementById("yt-btn").style.display="block";}}, 180000);
611
  setTimeout(function(){{window.location.href=url;}}, 270000);
612
  </script>
613
  </body>