Youtube scraping videos

I’m trying to gather information on the latest video released.
This code is ok, but it prints all information on all videos. How can I get the information on the latest video ONLY?
from bs4 import BeautifulSoup
import requests


Youtube DL sign in?

Is there anyway to have youtube dl login so it can not be stopped by explicit songs? ive tried running in the code
youtube-dl -u "{redacted}@gmail.com" -p "{redacted}", but since the videos arent downloaded with command…