Made it to avoid getting distracted by youtube vids.
video_id -> The id of the video at the end of the url
Eg: In, "https://www.youtube.com/watch?v=abcdefghijk" video_id = "abcdefghijk"
Or In, "https://youtu.be/abcdefghijk", video_id = "abcdefghijk"
- Has a video which you can set using (/set?s={video_id}). The default video is a "study with me" video by "Merve"
- If you just happened to receive a particular videos link, and want to watch it without going to the youtube website, you can use this webpage.
-
If you want to set a different video for your home page, you can use this. It saves the
video_id
in your cookies folder. -
If you want to watch vids by only some content creators, you will need to edit the dictionary
channelIdList
, inyt_rec.py
. The steps to get thechannel id's
is in the comments above it. It only shows the videos uploaded by the content creators specified, in the last week.
Need to finish writing this part
- Go to
https://console.cloud.google.com/apis/api/youtube.googleapis.com
,and click on "enable",
You will then be redirected to a page. - Go to the credentials tab
- Create an API KEY
- Place the value of the API in the line below the "importing lines" in
yt_rec.py
in place of theapi
variable. It's a string.
Change the cities mentioned for the weather in templates/yt.html
.
Explained in the HOMEPAGE subheading in WEBPAGES
Explained in the SELECTED CONTENT CREATORS subheading in WEBPAGES
- Need to save the data somewhere else, instead of cookies, cuz cookies are temporary
- Work on the parallax animation, by adding more layers.
- Remove "Welcome Darelife" and replace it with motivational quotes
- Make the video pop out when the video isn't in the users frame of view.
- Work on making the display perfect for different screen sizes.