-
Notifications
You must be signed in to change notification settings - Fork 0
/
twitter_trending_youtube_upload.html
64 lines (63 loc) · 2.25 KB
/
twitter_trending_youtube_upload.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<html>
<head>
<style>
/* Add a background color to the body element */
body {
background-color: rgb(128, 128, 85);
}
/* Add a border to the h1 element */
h1 {
border: 2px solid rgb(206, 75, 75);
padding: 10px;
}
/* Add a color to the links */
a {
color: rgb(71, 46, 141);
}
/* Add a hover effect to the links */
a:hover {
color: red;
}
</style>
</head>
<body>
<h1>Create Engaging YouTube Videos from Twitter's Trending Topics</h1>
<h2>Introduction</h2>
<p>This project allows you to easily fetch the trending topics on Twitter for a given location, create a summary for each topic, generate a video using Google Text-to-Speech and OpenCV, merge all the videos into one, and upload the final video to YouTube. You can use this project to quickly and easily create engaging content for your YouTube channel.</p>
<p><a href="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/Melon-Rusk/Summarize-Twitter-Trending-Public">GitHub Repo</a></p>
<h2>Features</h2>
<ul>
<li>Fetch trending topics from Twitter using the Tweepy and geocoder libraries</li>
<li>Create a summary for each trending topic using the Tweepy, nltk, and transformers libraries</li>
<li>Generate a video using the gtts, cv2 (OpenCV), and moviepy libraries</li>
<li>Concatenate multiple videos into one using moviepy</li>
<li>Upload the final video to YouTube using the googleapiclient library</li>
</ul>
<h2>Dependencies</h2>
<ul>
<li>Tweepy</li>
<li>geocoder</li>
<li>nltk</li>
<li>transformers</li>
<li>gtts</li>
<li>cv2 (OpenCV)</li>
<li>moviepy</li>
<li>googleapiclient</li>
</ul>
<h2>Quick Start</h2>
<ol>
<li>Clone the repository:
<pre>git clone https://github.com/Melon-Rusk/Summarize-Twitter-Trending-Public</pre>
</li>
<li>Navigate to the project directory:
<pre>cd Summarize-Twitter-Trending-Public</pre>
</li>
<li>Install the dependencies:
<pre>pip install -r requirements.txt</pre>
</li>
<li>Update the credentials in the config file.</li>
<li>Run the project:
<pre>python main.py</pre>
</li>
</ol>
<hr />