mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 21:09:17 -04:00
12 lines
356 B
Python
12 lines
356 B
Python
--- pafy/backend_youtube_dl.py.orig 2018-02-11 21:15:57 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
|