Pluto TV .m3u8 Grabber

Captures m3u8 URLs via XHR and retrieves the last intercepted URL

作者
Ghosty-Tongue
日安装量
0
总安装量
68
评分
0 0 1
版本
1.8
创建于
2024-08-31
更新于
2025-01-29
大小
5.3 KB
许可证
MIT
适用于

Overview

This userscript captures .m3u8 streaming playlist URLs from Pluto TV by intercepting network requests. It adds a floating button to the page, allowing users to copy the detected URL for use in external players (e.g., VLC, IPTV apps). Ideal for users who want direct access to Pluto TV streams.


Key Features

  • Automatic URL Capture:
    • Detects .m3u8 URLs via XHR requests when a channel starts playing.
    • Supports URLs containing master.m3u8 or playlist.m3u8.
  • Visual Feedback:
    • Red Button: No URL detected.
    • Green Button: URL successfully captured.
  • Clipboard Integration: One-click copy of the intercepted URL.
  • Dynamic Page Handling: Resets detection on page navigation (e.g., switching channels).
  • User-Friendly Alerts:
    • Displays success/error messages with a fade effect.
    • Includes a "Close" button to dismiss alerts.
  • Logging: Debugging messages in the browser console (e.g., logMessage).

Usage

  1. Navigate to Pluto TV:
    Visit Pluto TV and start playing a channel.
  2. Wait for Interception:
    • After playback begins, the script automatically detects the .m3u8 URL within ~2 seconds.
    • The floating button turns green when successful.
  3. Copy the URL:
    Click the Get Playlist URL button to copy the URL to your clipboard.

Troubleshooting

  • No URL Detected:
    • Refresh the page and restart playback.
    • Wait 2-3 seconds after playback starts.
    • Check for console errors (F12 → Console tab).
  • Script Conflicts:
    Disable other userscripts/extensions that modify Pluto TV.
  • Outdated Script:
    Ensure you’re using the latest version (current: v1.8).

Notes

  • Delay Mechanism: A 2-second delay ensures the script doesn’t intercept stale URLs during page transitions.
  • Compatibility: Works on all Pluto TV subdomains (e.g., live.pluto.tv, tv.pluto.tv).
  • Alert Design: Responsive alerts auto-close after 5 seconds or via the "Close" button.

Disclaimer

  • Use the copied URLs responsibly and in compliance with Pluto TV’s terms of service.
  • This script is for educational purposes only.

For updates or issues, contact the author or visit the script’s repository (if available).
Author: GhostyTongue | License: MIT