Request a copy of your YouTube watch history over at Google Takeout
- Click on
Deselect all - Scroll down and select YouTube and YouTube Music
- Click on
All YouTube data included - Make sure to only select history
| import googleapiclient.discovery | |
| API_KEY = "" # YouTube Data API v3 API key | |
| TARGET_CHANNEL_ID = "" # The channel you want to search through | |
| EXPORT_ALL = True # Set to `True` to export ALL comments. Set to `False` to filter by a specific author. | |
| COMMENT_AUTHOR_ID = "" # Only used if EXPORT_ALL is `False`, in that case returns comments from this specific user | |
| youtube = googleapiclient.discovery.build("youtube", "v3", developerKey=API_KEY) | |
| next_page_token = None |
| # Prerequisite: pip install requests | |
| # Usage: python DownloadPinterestOriginalSource.py <pin_url> -o <output_dir> | |
| # Example: python DownloadPinterestOriginalSource.py https://www.pinterest.com/pin/41447259074000929/ -o Downloads | |
| # Options: | |
| # -o, --output-dir: Directory to save the image (default: Downloads) | |
| # -h, --help: Show help message and exit | |
| import argparse | |
| import pathlib | |
| import re |
Request a copy of your YouTube watch history over at Google Takeout
Deselect allAll YouTube data included