Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. import os
  4. import sys
  5. import locale
  6.  
  7. os.environ['LC_ALL'] = "hu_HU.iso88592"
  8.  
  9. #locale.setlocale(locale.LC_ALL, 'hu_HU.UTF-8')
  10. locale.setlocale(locale.LC_ALL, 'hu_HU.ISO8859-2')
  11.  
  12. sys.path.append('/home/gzp/app/youtube-dl/')
  13.  
  14. libdir = '/home/gzp/app/youtube-dl/'
  15.  
  16. import youtube_dl
  17.  
  18. if __name__ == '__main__':
  19.     youtube_dl.main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement