Coursera Screenshot Downloader

Add screenshot functionality to all videos

目前为 2025-02-26 提交的版本。查看 最新版本

作者
shiquda
评分
0 0 0
版本
0.2
创建于
2025-02-26
更新于
2025-02-26
大小
3.2 KB
许可证
MIT
适用于

Coursera Snapshot Downloader

English Introduction

Description:
This script adds screenshot functionality to all videos on the Coursera website. Users can quickly capture and download the current video frame by clicking a camera icon in the bottom-right corner of the video player. The screenshot file name is based on the current webpage title and the video's current time, with invalid characters automatically replaced by underscores to ensure valid filenames.

Key Features:

  1. One-Click Screenshot: Adds a camera button to the video player for instant screenshots.
  2. Smart Naming: Screenshot filenames include the webpage title and video timestamp for easy organization.
  3. Dynamic Content Support: Works with dynamically loaded videos, ensuring compatibility with all content.
  4. Wide Compatibility: Designed for all Coursera video pages.

How to Use:

  1. Install a userscript manager (e.g., Tampermonkey or Violentmonkey).
  2. Add and enable this script.
  3. Open any Coursera video page and click the camera icon in the bottom-right corner of the video to take a screenshot.

中文介绍

功能描述:
本脚本为 Coursera 网站上的所有视频添加截图功能。用户可以通过点击视频右下角的相机图标,快速截取当前视频画面并下载。截图文件的名称将基于当前网页的标题和视频的当前时间,自动替换无效字符为下划线,确保文件名的合法性。

主要特点:

  1. 一键截图: 在视频播放界面添加相机按钮,点击即可截取当前画面。
  2. 智能命名: 截图文件名包含网页标题和视频时间,方便整理和查找。
  3. 动态加载支持: 支持动态加载的视频内容,确保所有视频都能使用截图功能。
  4. 兼容性强: 适用于所有 Coursera 视频页面。

使用方法:

  1. 安装用户脚本管理器(如 Tampermonkey 或 Violentmonkey)。
  2. 添加本脚本并启用。
  3. 打开任意 Coursera 视频页面,点击视频右下角的相机图标即可截图。