Skip to content

yangliuav/Youtube_8M_downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube-8M Downloader

This repository provides a moudle to download the original videos in Youtube-8m dataset

Since the official youtube-8m dataset website contains only videos and frame level features in the format of tensorflow protocal buffers. Hence, in this repository I write a tool to download the orignal vedios.

Installation

Dependencies for downloading youtube video ids for categories

    pip install requests pytube progressbar

or

    conda install requests progressbar
    conda install -c everwho pytube

Preparation

  1. Open categories.txt.
  2. Select the categories and paste them into downloadlist.txt. Note, there is only one category for each line and the first letter of each category is Capitalized.
  3. Save downloadlist.txt.

Download category videos and ids

    python downloader.py

The IDs of each category are saved at the folder 'ID'. The file of ID are named as the categories.

The Vedios of each category are saved at the folder 'vedios\YOUR CATEGORY NAME'. By default a video is downloaded in the best possible resolution.

Known problems and solutions

403 forbidden issues on signed videos

Please see pytube

Contact

If you have any questions or suggestions about the code, feel free to create an issue.

About

The easies way to download youtube-8M videos

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages