Skip to content

restconf/YouTubeProxyServer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTubeProxyServer

This app is developed for my close friends.

Notice

  1. If you watch a video through this app, the view count won't increase.

    So, watch a video on YouTube Site whenever you can.

  2. This app will not work on the network which doesn't allow accessing to ~googlevideo.com/

To run this app

  1. create /src/.env and write like this
YOUTUBEAPIKEY=your youtube api key 

VERIFICATION_EMAIL=gmail address 

PASSWORDFOREMAIL=google account password 

You should create new google account because you must disable your security.

See this: https://support.google.com/a/answer/6260879?hl=en

  1. create database on heroku

https://elements.heroku.com/addons/heroku-postgresql addon hobby-dev or better

Run this command

heroku run python -c "import src.models; src.models.init_db()"

or

open heroku console run python code

from src import models \
models.init_db() 
  1. add default account into database

    user = models.Registered_User(user_name=[username], password=[hash256ed password]) 
    
    models.db.session.add(user) 
    
    models.db.session.commit()
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.6%
  • HTML 29.1%
  • CSS 5.0%
  • JavaScript 4.3%