summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Utility/Env/Set.hs1
-rw-r--r--doc/tips/downloading_podcasts.mdwn16
-rw-r--r--doc/tips/using_the_web_as_a_special_remote.mdwn10
3 files changed, 14 insertions, 13 deletions
diff --git a/Utility/Env/Set.hs b/Utility/Env/Set.hs
index fd8d5140d..bd835e978 100644
--- a/Utility/Env/Set.hs
+++ b/Utility/Env/Set.hs
@@ -12,6 +12,7 @@ module Utility.Env.Set where
#ifdef mingw32_HOST_OS
import qualified System.Environment as E
import qualified System.SetEnv
+import Utility.Env
#else
import qualified System.Posix.Env as PE
#endif
diff --git a/doc/tips/downloading_podcasts.mdwn b/doc/tips/downloading_podcasts.mdwn
index 13b8300db..7416281d2 100644
--- a/doc/tips/downloading_podcasts.mdwn
+++ b/doc/tips/downloading_podcasts.mdwn
@@ -71,18 +71,18 @@ downloads upstream by podcatching to a server with ample bandwidth or work
around a slow local Internet connection by podcatching to your home server
and transferring to your laptop on demand.
-## youtube playlists
+## youtube channels
-You can also use `git annex importfeed` on youtube playlists.
+You can also use `git annex importfeed` on youtube channels.
It will use [youtube-dl](https://rg3.github.io/youtube-dl/) to automatically
-download the videos linked to by the playlist.
+download the videos.
-To download a youtube playlist, you need to find the feed associated with that
-playlist, and pass it to `git annex importfeed`. There does not seem to be
+To download a youtube channel, you need to find the feed associated with that
+channel, and pass it to `git annex importfeed`. There does not seem to be
an easy link anywhere to get the feed, but you can construct its url
-manually. For a playlist like
-"https://www.youtube.com/playlist?list=PL4F80C7D2DC8D9B6C", the
-feed is "https://www.youtube.com/feeds/videos.xml?playlist_id=PL4F80C7D2DC8D9B6C"
+manually. For a channel url like
+"https://www.youtube.com/channel/$foo", the
+feed is "https://www.youtube.com/feeds/videos.xml?channel_id=$foo"
## metadata
diff --git a/doc/tips/using_the_web_as_a_special_remote.mdwn b/doc/tips/using_the_web_as_a_special_remote.mdwn
index 8bd9c7457..5e066c918 100644
--- a/doc/tips/using_the_web_as_a_special_remote.mdwn
+++ b/doc/tips/using_the_web_as_a_special_remote.mdwn
@@ -90,12 +90,12 @@ quality videos from YouTube. Note that the youtube-dl configuration files
are not read when git-annex runs youtube-dl, to avoid config settings that
break its integration.
-To download a youtube playlist, you need to find the RSS feed associated with
-that playlist, and pass it to `git annex importfeed`. There does not seem to
+To download a youtube channel, you need to find the RSS feed associated with
+that channel, and pass it to `git annex importfeed`. There does not seem to
be an easy link anywhere to get the RSS feed, but you can construct its url
-manually. For a playlist like
-"https://www.youtube.com/playlist?list=PL4F80C7D2DC8D9B6C", the
-feed is "https://www.youtube.com/feeds/videos.xml?playlist_id=PL4F80C7D2DC8D9B6C"
+manually. For a channel like
+"https://www.youtube.com/channel/$foo", the
+feed is "https://www.youtube.com/feeds/videos.xml?channel_id=$foo"
## bittorrent