pexelvideos / README.md
Corran's picture
correct readmev2
2dfaaeb
|
raw
history blame
732 Bytes

358,551 video urls and associated metadata from pexels.com.

Data was extracted from their video sitemaps (pexels.com/robots.txt) on 01/08/2022.

Data is stored in PexelVideos.parquet.gzip as a gzipped parquet

To get this data ensure you have git installed and do !git lfs clone https://huggingface.co/datasets/Corran/pexelvideos/

In python the reccomended reading is by opening the file with pandas.

!pip install pandas import pandas data=pd.read_parquet('PexelVideos.parquet.gzip')

Get a specific url and its metadata using data.iloc[0], read this like a python dict

e.g to get the url for index i url= df.iloc[0]["content_loc"]

https://pandas.pydata.org/pandas-docs/version/1.1/getting_started/index.html#getting-started