Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
animesh-chouhan authored Jun 22, 2021
1 parent 304a60a commit f68f2d2
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,45 @@
### Cloning the repository:
```sh
#clone the repo
$git clone https://github.com/animesh-chouhan/yt-comment-scraper.git
$cd youtube-playman
git clone https://github.com/animesh-chouhan/yt-comment-scraper.git
cd youtube-playman
```
### Running the script:

```sh
#run the script directly
$chmod +x ./youtube-playman.sh
$./youtube-playman.sh
chmod +x ./youtube-playman.sh
./youtube-playman.sh

OR

#create a hard link to the local binary folder
#this will add the downloader to the path variable
$ln ./youtube-playman.sh ~/.local/bin/youtube-playman
ln ./youtube-playman.sh ~/.local/bin/youtube-playman

#directly running the script
$youtube-playman
youtube-playman

```
### Installation:

To install it right away for all UNIX users (Linux, macOS, etc.), type:

curl -L https://github.com/animesh-chouhan/youtube-playman/releases/latest/download/youtube-playman -o ~/.local/bin/youtube-playman
chmod a+rx ~/.local/bin/youtube-playman

```sh
curl -L https://github.com/animesh-chouhan/youtube-playman/releases/latest/download/youtube-playman -o ~/.local/bin/youtube-playman
chmod a+rx ~/.local/bin/youtube-playman
```
If you do not have curl, you can alternatively use a recent wget:

wget https://github.com/animesh-chouhan/youtube-playman/releases/latest/download/youtube-playman -O ~/.local/bin/youtube-playman
chmod a+rx ~/.local/bin/youtube-playman

```sh
wget https://github.com/animesh-chouhan/youtube-playman/releases/latest/download/youtube-playman -O ~/.local/bin/youtube-playman
chmod a+rx ~/.local/bin/youtube-playman
```
### Add Jobs To cron:

```sh
#creating a cron job that will update the playlists automatically
$crontab -e

crontab -e
```
```sh
#this will open a editor and add this entry to the file
#don't forget the newline after the last entry

Expand Down

0 comments on commit f68f2d2

Please sign in to comment.