Giter Site home page Giter Site logo

bardisty / ytdlrc Goto Github PK

View Code? Open in Web Editor NEW
171.0 7.0 27.0 127 KB

:cloud: Downloads videos and metadata with youtube-dl and moves each file on completion to an rclone remote

Home Page: https://git.io/ytdlrc

License: MIT License

Shell 100.00%
amazon-drive amazon-s3 backblaze-b2 box ceph datahoarder digitalocean-spaces download-videos dropbox google-cloud-storage

ytdlrc's People

Contributors

bardisty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ytdlrc's Issues

Comment in snatch.list

Please add comment support in snatch.list so we can add description about channel/playlist.

Need the ability to add a --bwlimit to rclone

Loving this tool, but I need to be able to add a bandwidth limit, so it doesn't trash my google drive upload. I like to preserve some upload capacity each day, so I can still use it if I need to.

Not cleaning up files after upload

Is this by intention to not clean up files left over, e.g. covers, json, description, occasional .webm?

I was running it on a rather large channel (2TB+) and eventually the VPS disk got filled due to those remaining files building up, and for some reason some .webm.parts - not sure on the cause of that yet.

Add video ID to ERROR log

I sometimes get errors stating that the video is not available in my country, it would be useful to print the video ID with the error, so that we can just copy the ID and download using a VPN. Since it just writes ERROR: + error_message we have to set debug flag as true and wait it out until we reach the same error and find the ID from there..

I'm going to try to make a PR this weekend on this. Is it ok?

rclone remove

I want to remove the process of uploading to rclone.
Where should I edit?

Download without rclone moving

Hi

Thank you for nice script.
Is there any way to remove rclone part, i just need to download youtube playlist to folder without moving anything...

Underline title

It is a great script !!! Congratulations

Would it be possible to remove the underline in the titles of the videos?

Thank you

File path problems

I want to remove all 'Uploads from' that precede the google drive folder name. what should I do?

youtube-dl: You must provide at least one URL

This error seems to be from get_video_value(). I double checked, the URL gets passed in correctly.

$video_value in that function seems to return an empty string though.
I tried that same command on my shell and it worked. I even hardcoded a working example in get_video_value() and I still get this error.

This is my output:

[YTDLRC] [Debug] Lock file doesn't exist. Attempting to create '/tmp/ytdlrc.lock'...
[YTDLRC] [Debug] [OK] Creating '/tmp/ytdlrc.lock' succeeded. Continuing...
[YTDLRC] [Debug] Checking required commands...
[YTDLRC] [Debug] [OK] Command found: youtube-dl
[YTDLRC] [Debug] [OK] Command found: rclone
[YTDLRC] [Debug] Checking if rclone meets minimum required version (1.43)...
[YTDLRC] [Debug] [OK] Installed version: 1.49.5
[YTDLRC] [Debug] Checking if rclone configuration file exists...
[YTDLRC] [Debug] [OK] Using rclone configuration: /home/shayan/.rclone.conf
[YTDLRC] [Debug] Checking rclone remote for any issues...
[YTDLRC] [Debug] [OK] Remote exists. No issues found.
[YTDLRC] Processing ytuser:kurzgesagt...
[YTDLRC] [Debug] Grabbing 'uploader' '1' from 'ytuser:kurzgesagt'...
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
[YTDLRC] [Debug] Failed to grab 'uploader' from 'ytuser:kurzgesagt'. Trying 2nd video instead...
[YTDLRC] [Debug] Grabbing 'uploader' '2' from 'ytuser:kurzgesagt'...
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
[YTDLRC] [Debug] Failed to grab 'uploader' from 'ytuser:kurzgesagt' after 2 attempts. Skipping...
[YTDLRC] Process completed at 2019-11-07T15:58:39+01:00.
[YTDLRC] [Debug] Removing lock file...
[YTDLRC] [Debug] [OK] Lock file deleted.

Restricted filenames

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.