We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 868dc87 commit c8f3ba2Copy full SHA for c8f3ba2
pafy/pafy.py
@@ -44,11 +44,11 @@
44
# Select which backend to use
45
backend = "internal"
46
if os.environ.get("PAFY_BACKEND") != "internal":
47
- try:
48
- import youtube_dl
49
- backend = "youtube-dl"
50
- except ImportError:
51
- logging.warning("""pafy: youtube-dl not found; falling back to internal \
+ try:
+ import youtube_dl
+ backend = "youtube-dl"
+ except ImportError:
+ logging.warning("""pafy: youtube-dl not found; falling back to internal \
52
backend. This is not as well maintained as the youtube-dl backend. To hide this \
53
message, set the environmental variable PAFY_BACKEND to \"internal\".""")
54
0 commit comments