mirror of
https://github.com/Radarr/Radarr
synced 2024-12-30 20:05:41 +00:00
Log where the torrent request is being redirected to
This commit is contained in:
parent
4fd8fce4a5
commit
3055b90178
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,8 @@ private string DownloadFromWebUrl(RemoteEpisode remoteEpisode, String torrentUrl
|
||||||
{
|
{
|
||||||
var locationHeader = (string)response.Headers.GetValueOrDefault("Location", null);
|
var locationHeader = (string)response.Headers.GetValueOrDefault("Location", null);
|
||||||
|
|
||||||
|
_logger.Trace("Torrent request is being redirected to: {0}", locationHeader);
|
||||||
|
|
||||||
if (locationHeader != null)
|
if (locationHeader != null)
|
||||||
{
|
{
|
||||||
if (locationHeader.StartsWith("magnet:"))
|
if (locationHeader.StartsWith("magnet:"))
|
||||||
|
|
Loading…
Reference in a new issue