user@Mac ~/jekyll-theme-chirpy/tools % python3 make-new-post.py -y 'https://www.youtube.com/watch?v=L2Pp3c7fN3E'
Received YouTube video link: https://www.youtube.com/watch?v=L2Pp3c7fN3E
Identified the YouTube video ID as: L2Pp3c7fN3E
Future exception was never retrieved
future: <Future finished exception=NetworkError('Protocol error Target.detachFromTarget: Target closed.')>
pyppeteer.errors.NetworkError: Protocol error Target.detachFromTarget: Target closed.
Created folder: ../assets/img/posts/2022-01-03-16-inch-macbook-air--2022-qa
Creating text post: ../_posts/2022-01-03-16-inch-macbook-air--2022-qa.md
Finished successfully!
Future exception was never retrieved
future: <Future finished exception=NetworkError('Protocol error (Target.sendMessageToTarget): No session with given id')>
pyppeteer.errors.NetworkError: Protocol error (Target.sendMessageToTarget): No session with given id
Example error that sometimes happens: