banhao / scrape-youtube-channel-videos-url

This Python script is used to scrape all the video links from a youtube channel.
MIT License
49 stars 18 forks source link

Add chrome argument to chromedriver #1

Closed dansbandit closed 3 years ago

dansbandit commented 3 years ago

Youtube now comes with a cookie consent form. For this script to work you need to accept the consent screen. This commit adds the option to provide your own cookie files.

I had to do the following for this script to work:

chromium --user-data-dir=chrome-data
# accept the cookie consent form

A better solution would be to use chromedriver to press the consent form automatically.

banhao commented 3 years ago

Appreciate your contribution @dansbandit