Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to Download "Lindenstraße" #17

Closed
heikone opened this issue Aug 18, 2018 · 3 comments
Closed

Trying to Download "Lindenstraße" #17

heikone opened this issue Aug 18, 2018 · 3 comments

Comments

@heikone
Copy link

heikone commented Aug 18, 2018

Dear dicer,
I've found your wonderful py script, that helps a lot to download Tatort.
But additionally, I would like to download Lindenstraße with the help of the following config.json:

{
"debug": 1,
"debugFile": "debug.log",
"feeds": [
{
"enabled": 1,
"id": "Lindenstrasse",
"quality": -1,
"subtitles": 0,
"targetFolder": "/mnt/seagate/gemeinsam/Filme_Serien/Lindenstrasse/",
"url": "https://www.ardmediathek.de/tv/Lindenstra%C3%9Fe/Sendung?documentId=5280&bcastId=5280&rss=true",
"exclude": [
{
"regexp": ".Vorschau."
},
{
"regexp": ".Outtake."
},
{
"regexp": ".So geht."
}
],
"titleFilters": [
{
"replace": " (Video tgl. ab 22 Uhr)"
},
{
"replace": " (Video tgl. ab 20 Uhr)"
}
],
"titlePrependItemDate": 0
}
],
"downloadedFeedItemsDatabase": "downloadedItems.json",
"version": 5
}

But I'm not successful.
The script sucessfully finds a file to download, but it does not start and after a while it tells me, that the file with the requested quality could not be downloaded.
Downloading the given file manually works fine ...

Maybe you can help.

Best regards
Heiko

@heikone
Copy link
Author

heikone commented Aug 19, 2018

The exact message during the fail is:

Could not connect to link '//wdrmedien-a.akamaihd.net/medp/ondemand/weltweit/fsk0/171/1712003/1712003_19909247.mp4'
[Errno ftp error] [Errno 110] Connection timed out
Could not download 'Lindenstraße - Folge 1683 "Geschäftsmänner"' because of an error or nothing matching your quality selection

I think it mus be this url:

https://wdrmedien-a.akamaihd.net/medp/ondemand/weltweit/fsk0/171/1712003/1712003_19909247.mp4

Greetings
Heiko

@heikone
Copy link
Author

heikone commented Aug 19, 2018

Was easy to solve:
Just add mediaURL = "https:" + mediaURL in the py script before the download starts (i.e. in line 241).

@heikone heikone closed this as completed Aug 19, 2018
@dicer
Copy link
Owner

dicer commented Sep 6, 2018

Yes, this does help for some feeds. It will break others though, because some feeds do contain correct media urls, some don't.
I'm reopening this issue so I remember to check for this and fix it properly

@dicer dicer reopened this Sep 6, 2018
@heikone heikone closed this as completed Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants