deepak191z commited on
Commit
e03131a
·
verified ·
1 Parent(s): c28fab4

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -42,7 +42,7 @@ const html = `
42
  <h1>YouTube Transcript Generator (Playwright)</h1>
43
  <form id="transcriptForm">
44
  <input type="text" id="videoUrl" name="videoUrl" placeholder="YouTube Video URL" required>
45
- <input type="text" id="videoTitle" name="videoTitle" placeholder="Video Title" required>
46
  <button type="submit">Generate Transcript</button>
47
  </form>
48
  <div id="result"></div>
@@ -51,7 +51,7 @@ const html = `
51
  document.getElementById('transcriptForm').addEventListener('submit', async (e) => {
52
  e.preventDefault();
53
  const videoUrl = document.getElementById('videoUrl').value;
54
- const videoTitle = document.getElementById('videoTitle').value;
55
  const resultDiv = document.getElementById('result');
56
 
57
  resultDiv.textContent = 'Generating transcript...';
 
42
  <h1>YouTube Transcript Generator (Playwright)</h1>
43
  <form id="transcriptForm">
44
  <input type="text" id="videoUrl" name="videoUrl" placeholder="YouTube Video URL" required>
45
+
46
  <button type="submit">Generate Transcript</button>
47
  </form>
48
  <div id="result"></div>
 
51
  document.getElementById('transcriptForm').addEventListener('submit', async (e) => {
52
  e.preventDefault();
53
  const videoUrl = document.getElementById('videoUrl').value;
54
+
55
  const resultDiv = document.getElementById('result');
56
 
57
  resultDiv.textContent = 'Generating transcript...';