Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Twitter Video Download Tool</title>
- <style>
- body {
- font-family: Arial, sans-serif;
- text-align: center;
- background-color: #f4f4f9;
- margin: 0;
- padding: 0;
- }
- .container {
- max-width: 500px;
- margin: 50px auto;
- background: #fff;
- padding: 20px;
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
- border-radius: 8px;
- }
- h1 {
- color: #1da1f2;
- }
- input[type="text"], .output {
- width: 100%;
- padding: 10px;
- margin: 10px 0;
- border: 1px solid #ddd;
- border-radius: 4px;
- font-size: 16px;
- }
- button {
- background-color: #1da1f2;
- color: #fff;
- border: none;
- padding: 10px 20px;
- font-size: 16px;
- border-radius: 4px;
- cursor: pointer;
- transition: background-color 0.3s ease;
- }
- button:hover {
- background-color: #0d95e8;
- }
- .output {
- background-color: #e9ecef;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <h1>Twitter Video Download Tool</h1>
- <input type="text" id="inputLink" placeholder="Paste your Twitter video link here">
- <button onclick="generateDownloadLink()">Generate Download Link</button>
- <h3>Download Link:</h3>
- <input type="text" id="outputLink" class="output" readonly>
- </div>
- <script>
- function generateDownloadLink() {
- const inputLink = document.getElementById("inputLink").value;
- const outputLink = document.getElementById("outputLink");
- // Check if it's a valid Twitter URL
- if (inputLink.includes("twitter.com") && inputLink.includes("status")) {
- outputLink.value = `https://ssstwitter.com/download?url=${encodeURIComponent(inputLink)}`;
- } else {
- outputLink.value = "Invalid Twitter link. Make sure it's a video URL.";
- }
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment