Skip to content

Commit

Permalink
#317: Remove mentions of https://yt.lemnoslife.com
Browse files Browse the repository at this point in the history
Verified exhaustiveness thanks to:

```bash
grep -r 'yt.lemnoslife.com'
```
  • Loading branch information
Benjamin-Loison committed Oct 12, 2024
1 parent 57dfa20 commit 8c06bd6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 41 deletions.
1 change: 0 additions & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ authors:
- given-names: Benjamin
family-names: Loison
repository-code: 'https://github.com/Benjamin-Loison/YouTube-operational-API'
url: 'https://yt.lemnoslife.com'
abstract: >-
YouTube operational API works when YouTube Data API v3
fails.
Expand Down
39 changes: 0 additions & 39 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,45 +9,6 @@ Thank you for investing your time in contributing to YouTube operational API!

## Contributing as a user

### Empower the no-key service

- [If you don't have a YouTube Data API v3 key](#if-you-dont-have-a-youtube-data-api-v3-key)
- [If you already have a YouTube Data API v3 key](#if-you-already-have-an-youtube-data-api-v3-key)

#### If you don't have a YouTube Data API v3 key

The following procedure requires you to have a Google account, don't hesitate to create an ad hoc account.

Go to: https://console.cloud.google.com/projectcreate

Click on the `CREATE` button.

Go to: https://console.cloud.google.com/marketplace/product/google/youtube.googleapis.com

Click on the `ENABLE` button.

Click on the `CREATE CREDENTIALS` button.

Choose the `Public data` option.

Click on the `NEXT` button.

Copy the displayed `API Key`.

#### If you already have an YouTube Data API v3 key

Note that sharing your YouTube Data API v3 key means that you can't rely on its quota for your personal usage of it.

Go to: https://yt.lemnoslife.com

Paste your API key to the field next to `Share your YouTube Data API v3 key to power the no-key service:` and click on the `share` button.

If the message `YouTube Data API v3 key added.` is displayed, it means that your contribution got confirmed, thank you!

Don't hesitate to repeat this procedure with as many Google accounts as you can (don't hesitate to create ad hoc accounts).

### More broadly

If you encounter any problem or have any suggestion, don't hesitate to [open an issue](https://github.com/Benjamin-Loison/YouTube-operational-API/issues) if your problem isn't already listed. Don't hesitate to [reach out the YouTube operational API community](https://github.com/Benjamin-Loison/YouTube-operational-API/#contact).

## Contributing as a developer
Expand Down
2 changes: 1 addition & 1 deletion tools/checkOperationnalAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def getVideos(pageToken = '', callsIndex = 0):
global videoIds
url = f'https://yt.lemnoslife.com/search?part=id&q={query}&type=video'
url = f'http://localhost/search?part=id&q={query}&type=video'
if pageToken != '':
url += '&pageToken=' + pageToken
data = requests.get(url).json()
Expand Down

0 comments on commit 8c06bd6

Please sign in to comment.