Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.

Commit

Permalink
Update README video import
Browse files Browse the repository at this point in the history
  • Loading branch information
jmickey committed May 17, 2019
1 parent 0757340 commit fbf89b9
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,31 @@ Current configuration options and default values:

Once you have `bake` installed:

**Import a Channel:**
#### Import a Channel

```bash
bake channel import creator_slug youtube channel_url
```

**Import a Video:**
#### Import a Video

##### Using the Video ID

```bash
bake import video --provider youtube --creator creator_slug [--id | --url] video_id_or_URL
bake import video --creator creator_slug --provider youtube --id VIDEO_ID
```

##### Using the Video URL

```bash
bake import video --creator creator_slug --provider youtube --url https://VIDEO_URL
```

Note: The following formats are supported

- https://www.youtube.com/watch?v=xspEtjnSfQA
- https://www.youtube.com/embed/xspEtjnSfQA

## Contributing

You'll need the Go programming language installed. We recommend version v1.12+. This is going to be dependent on your system, we recommend following <https://golang.org/doc/install>
Expand Down Expand Up @@ -94,3 +107,15 @@ Bake has some very basic tests for now, they can be run with the standard go tes
go get -t ./...
go test ./...
```

### Releasing

Releasing is automated via `git tag` and CircleCI. Users with write permissions will be able to create tags. To create a new release:

```shell
# vX.Y.Z needs to be a valid SemVer version number
git tag vX.Y.Z
git push --tags
```

CircleCI will do the rest!

0 comments on commit fbf89b9

Please sign in to comment.