Public
Authored by Nathanaël 💩

Youtube news

Python script to display new Youtube videos for the given user url.

Example usage:

$ youtube-news.py https://www.youtube.com/user/ScienceEtonnante
0 day(s) ago: https://www.youtube.com/watch?v=igf6MLmkBcw
77 day(s) ago: https://www.youtube.com/watch?v=zPolTp0ddRg
105 day(s) ago: https://www.youtube.com/watch?v=0zO0dqQKz2Y
133 day(s) ago: https://www.youtube.com/watch?v=YrOyRCD7M14
154 day(s) ago: https://www.youtube.com/watch?v=zT1avZJB-_M
175 day(s) ago: https://www.youtube.com/watch?v=lqg-4TpReo4
203 day(s) ago: https://www.youtube.com/watch?v=S-W0NX97DB0
217 day(s) ago: https://www.youtube.com/watch?v=850Zr6dzxYU
239 day(s) ago: https://www.youtube.com/watch?v=r-RHHrrdbfM
255 day(s) ago: https://www.youtube.com/watch?v=muWrmfXpivY
273 day(s) ago: https://www.youtube.com/watch?v=KIGfevsoS8Q
289 day(s) ago: https://www.youtube.com/watch?v=M86YM6QA4-M
308 day(s) ago: https://www.youtube.com/watch?v=1Uhbki--UPw
358 day(s) ago: https://www.youtube.com/watch?v=gxtqGhhomQE
372 day(s) ago: https://www.youtube.com/watch?v=8WkBP2RU5nw

This script is a proof of concept to automatically import a video to a Peertube instance when this video is imported on Youtube. This can be done using the Peertube import script and a cron job.

youtube-news.py 1.11 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment