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

Restricted filenames #4

Closed
Dawok opened this issue Sep 21, 2018 · 3 comments
Closed

Restricted filenames #4

Dawok opened this issue Sep 21, 2018 · 3 comments

Comments

@Dawok
Copy link

Dawok commented Sep 21, 2018

Hi, I love your script and use it to archive some japanese and korean channels. Is there a way to remove --restrict-filenames without messing up the script?

@bardisty
Copy link
Owner

bardisty commented Sep 25, 2018

Hey thanks, glad you find it useful! I've only tested it without the --restrict-filenames flag on one video and it seemed to handle it fine. YMMV, though.

A few small edits needed to make this work.

  • Delete line 194 (affects folder names for the channels on rclone remote):

    ytdlrc/ytdlrc

    Line 194 in af7ef72

    --restrict-filenames \

  • Delete line 220 (affects filenames of downloaded videos and metadata):

    ytdlrc/ytdlrc

    Line 220 in af7ef72

    --restrict-filenames \

  • Change '{}' to {} on line 211:

    - '{}' '${rclone_destination%/}/${video_value}' \
    + {} '${rclone_destination%/}/${video_value}' \

    ytdlrc/ytdlrc

    Line 211 in af7ef72

    '{}' '${rclone_destination%/}/${video_value}' \

@Dawok
Copy link
Author

Dawok commented Sep 25, 2018

I see, got it working. Thank you so much

@bardisty
Copy link
Owner

No problem!

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