blob: 7c276fa25d6b84d197fee62c8d07a8dffda30d5c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- pafy/backend_youtube_dl.py.orig 2016-03-05 21:47:16 UTC
+++ pafy/backend_youtube_dl.py
@@ -8,6 +8,9 @@ if sys.version_info[:2] >= (3, 0):
else:
uni = unicode
+if sys.platform.startswith('freebsd'):
+ # FreeBSD installs youtube_dl as a zip archive
+ sys.path.insert(1, '%%LOCALBASE%%/bin/youtube-dl')
import youtube_dl
from . import g
|