diff --git a/README.md b/README.md index aeb08b4..d5f3b14 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ > > Bring your YouTube links to life! + +🤖 Automate the boring stuff with Python! + + 🚀 Glow up your HTML/Markdown files with this simple Python script! Just provide a YouTube URL as input, and it generates a sleek, clickable YouTube card for you. Perfect for embedding videos in your blog, documentation, or personal projects. @@ -40,26 +44,26 @@ Clean, ready-to-use HTML that you can drop anywhere: ```html
- - - YouTube Thumbnail - -
-
-
- -
- 21:24 -
-
-
- -

https://youtu.be/34_dRW42kYI

- -
- -

Markdown Crash Course - Beginner Tutorial

-
+ + + YouTube Thumbnail + +
+
+
+ +
+ 21:24 +
+
+
+ +

https://youtu.be/34_dRW42kYI

+ +
+ +

Markdown Crash Course - Beginner Tutorial

+
``` @@ -119,12 +123,39 @@ The HTML/MD code will also include relevant comments. This tool uses the `pytube` module. + + ```bash $ pip3 install pytube # getting YouTube clip info ``` + +> IMPORTANT NOTE: +> +> Given the numerous problems and errors caused by the `pytube` module, +> please check this link , +> my project now uses the `pytubefix` module. +> +> The `pytubefix` module's documentation is available on the GitHub page, +> at the following link: . + + + + +```bash +$ pip3 install pytubefix +``` + + +Also, when running the `html_md_yt_card` **CLI tool** for the first time, +it **might** ask for authentication on Google. +Without authentication, you'll be seen as a bot and an error message will be dispalyed. + + + + ## Installation diff --git a/Tests/out/1.md b/Tests/out/1.md index 84f5edb..c4d9364 100644 --- a/Tests/out/1.md +++ b/Tests/out/1.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/10.md b/Tests/out/10.md index 7e2eb9c..27d81db 100644 --- a/Tests/out/10.md +++ b/Tests/out/10.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/11.md b/Tests/out/11.md index 593c88c..74dde37 100644 --- a/Tests/out/11.md +++ b/Tests/out/11.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/12.md b/Tests/out/12.md index 18c34fd..272843e 100644 --- a/Tests/out/12.md +++ b/Tests/out/12.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/13.md b/Tests/out/13.md index ad608ba..8a2cfca 100644 --- a/Tests/out/13.md +++ b/Tests/out/13.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/14.md b/Tests/out/14.md index bd3cf09..82a4954 100644 --- a/Tests/out/14.md +++ b/Tests/out/14.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/15.md b/Tests/out/15.md index 8986b0d..14a6a69 100644 --- a/Tests/out/15.md +++ b/Tests/out/15.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/16.md b/Tests/out/16.md index a81a4fe..36568bd 100644 --- a/Tests/out/16.md +++ b/Tests/out/16.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/17.md b/Tests/out/17.md index 30b1c04..bca51d7 100644 --- a/Tests/out/17.md +++ b/Tests/out/17.md @@ -1,8 +1,8 @@ - +
diff --git a/Tests/out/18.md b/Tests/out/18.md index fde0470..437d19e 100644 --- a/Tests/out/18.md +++ b/Tests/out/18.md @@ -1,8 +1,8 @@ - + diff --git a/Tests/out/19.md b/Tests/out/19.md index 1d474e1..cb1a45d 100644 --- a/Tests/out/19.md +++ b/Tests/out/19.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/2.md b/Tests/out/2.md index a9e8945..a61220b 100644 --- a/Tests/out/2.md +++ b/Tests/out/2.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/20.md b/Tests/out/20.md index 40845fa..f05f1d6 100644 --- a/Tests/out/20.md +++ b/Tests/out/20.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/3.md b/Tests/out/3.md index def1448..0dec511 100644 --- a/Tests/out/3.md +++ b/Tests/out/3.md @@ -2,7 +2,7 @@
" target="_blank" style="display: block; position: relative;"> - YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/4.md b/Tests/out/4.md index 5319259..d0e7ef7 100644 --- a/Tests/out/4.md +++ b/Tests/out/4.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/5.md b/Tests/out/5.md index cabe19a..8e83e02 100644 --- a/Tests/out/5.md +++ b/Tests/out/5.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/6.md b/Tests/out/6.md index 462bc6d..8a24aff 100644 --- a/Tests/out/6.md +++ b/Tests/out/6.md @@ -2,7 +2,7 @@
" target="_blank" style="display: block; position: relative;"> - YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/7.md b/Tests/out/7.md index d7328ee..33111b2 100644 --- a/Tests/out/7.md +++ b/Tests/out/7.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/8.md b/Tests/out/8.md index 1d474e1..cb1a45d 100644 --- a/Tests/out/8.md +++ b/Tests/out/8.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/out/9.md b/Tests/out/9.md index e267827..a79ae04 100644 --- a/Tests/out/9.md +++ b/Tests/out/9.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/1.md b/Tests/ref/1.md index 84f5edb..c4d9364 100644 --- a/Tests/ref/1.md +++ b/Tests/ref/1.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/10.md b/Tests/ref/10.md index 7e2eb9c..27d81db 100644 --- a/Tests/ref/10.md +++ b/Tests/ref/10.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/11.md b/Tests/ref/11.md index 593c88c..74dde37 100644 --- a/Tests/ref/11.md +++ b/Tests/ref/11.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/12.md b/Tests/ref/12.md index 18c34fd..272843e 100644 --- a/Tests/ref/12.md +++ b/Tests/ref/12.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/13.md b/Tests/ref/13.md index ad608ba..8a2cfca 100644 --- a/Tests/ref/13.md +++ b/Tests/ref/13.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/14.md b/Tests/ref/14.md index bd3cf09..82a4954 100644 --- a/Tests/ref/14.md +++ b/Tests/ref/14.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/15.md b/Tests/ref/15.md index 8986b0d..14a6a69 100644 --- a/Tests/ref/15.md +++ b/Tests/ref/15.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/16.md b/Tests/ref/16.md index a81a4fe..36568bd 100644 --- a/Tests/ref/16.md +++ b/Tests/ref/16.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/17.md b/Tests/ref/17.md index 30b1c04..bca51d7 100644 --- a/Tests/ref/17.md +++ b/Tests/ref/17.md @@ -1,8 +1,8 @@ - +
diff --git a/Tests/ref/18.md b/Tests/ref/18.md index fde0470..437d19e 100644 --- a/Tests/ref/18.md +++ b/Tests/ref/18.md @@ -1,8 +1,8 @@ - + diff --git a/Tests/ref/19.md b/Tests/ref/19.md index 1d474e1..cb1a45d 100644 --- a/Tests/ref/19.md +++ b/Tests/ref/19.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/2.md b/Tests/ref/2.md index a9e8945..a61220b 100644 --- a/Tests/ref/2.md +++ b/Tests/ref/2.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/20.md b/Tests/ref/20.md index 40845fa..f05f1d6 100644 --- a/Tests/ref/20.md +++ b/Tests/ref/20.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/3.md b/Tests/ref/3.md index def1448..0dec511 100644 --- a/Tests/ref/3.md +++ b/Tests/ref/3.md @@ -2,7 +2,7 @@
" target="_blank" style="display: block; position: relative;"> - YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/4.md b/Tests/ref/4.md index 5319259..d0e7ef7 100644 --- a/Tests/ref/4.md +++ b/Tests/ref/4.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/5.md b/Tests/ref/5.md index cabe19a..8e83e02 100644 --- a/Tests/ref/5.md +++ b/Tests/ref/5.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/6.md b/Tests/ref/6.md index 462bc6d..8a24aff 100644 --- a/Tests/ref/6.md +++ b/Tests/ref/6.md @@ -2,7 +2,7 @@
" target="_blank" style="display: block; position: relative;"> - YouTube Thumbnail + YouTube Thumbnail
diff --git a/Tests/ref/7.md b/Tests/ref/7.md index d7328ee..33111b2 100644 --- a/Tests/ref/7.md +++ b/Tests/ref/7.md @@ -2,7 +2,7 @@
- YouTube Thumbnail + YouTube Thumbnail