Get iplayer
download a series
To download an entire series / boxed set, open the main page and find the PID in the URL eg https://www.bbc.co.uk/iplayer/episodes/b05p650r the PID is b05p650r.
get_iplayer can use brand/series PIDs to recursively download all episodes in the brand or series:
get_iplayer --pid=b05p650r --pid-recursive
The value for --pid is the brand/series PID and --pid-recursive instructs get_iplayer to examine the brand/series metadata to pick out the associated episode PIDs and download them. If you are using a brand/series PID, be aware that programme clips will not be downloaded.
Recursive recording of a brand/series will first print a list of the enclosed episodes. If you want to record specific episodes and not the entire brand/series, use --pid-recursive-list to print the list of available episodes without attempting download:
get_iplayer --pid=b006m8wd --pid-recursive-list
You can then pick out the PID(s) for the desired episode(s) and use them with --pid
Previously downloaded episodes can be excluded with --hide:
get_iplayer --pid=b006m8wd --pid-recursive --hide
change output dir
get_iplayer --output="D:\some where\that you want"