readme updated
This commit is contained in:
parent
63a67ef86e
commit
485f65f7bc
|
@ -1,5 +1,6 @@
|
||||||
# YouTube Transcript/Subtitle API (including automatically generated subtitles)
|
# YouTube Transcript/Subtitle API (including automatically generated subtitles)
|
||||||
|
|
||||||
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BAENLEW8VUJ6G&source=url)
|
||||||
[](https://travis-ci.org/jdepoix/youtube-transcript-api)
|
[](https://travis-ci.org/jdepoix/youtube-transcript-api)
|
||||||
[](https://coveralls.io/github/jdepoix/youtube-transcript-api?branch=master)
|
[](https://coveralls.io/github/jdepoix/youtube-transcript-api?branch=master)
|
||||||
[](http://opensource.org/licenses/MIT)
|
[](http://opensource.org/licenses/MIT)
|
||||||
|
@ -100,7 +101,7 @@ from youtube_transcript_api import YouTubeTranscriptApi
|
||||||
YouTubeTranscriptApi.get_transcript(video_id, proxies={"http": "http://user:pass@domain:port", "https": "https://user:pass@domain:port"})
|
YouTubeTranscriptApi.get_transcript(video_id, proxies={"http": "http://user:pass@domain:port", "https": "https://user:pass@domain:port"})
|
||||||
```
|
```
|
||||||
|
|
||||||
As the `proxies` dict is passed on to the `requests.get(...)` call, it follows the [format used by the requests library](http://docs.python-requests.org/en/master/user/advanced/#proxies)
|
As the `proxies` dict is passed on to the `requests.get(...)` call, it follows the [format used by the requests library](http://docs.python-requests.org/en/master/user/advanced/#proxies).
|
||||||
|
|
||||||
Using the CLI:
|
Using the CLI:
|
||||||
|
|
||||||
|
@ -112,3 +113,9 @@ youtube_transcript_api <first_video_id> <second_video_id> --http-proxy http://us
|
||||||
## Warning
|
## Warning
|
||||||
|
|
||||||
This code uses an undocumented part of the YouTube API, which is called by the YouTube web-client. So there is no guarantee that it won't stop working tomorrow, if they change how things work. I will however do my best to make things working again as soon as possible if that happens. So if it stops working, let me know!
|
This code uses an undocumented part of the YouTube API, which is called by the YouTube web-client. So there is no guarantee that it won't stop working tomorrow, if they change how things work. I will however do my best to make things working again as soon as possible if that happens. So if it stops working, let me know!
|
||||||
|
|
||||||
|
## Donation
|
||||||
|
|
||||||
|
If this project makes you happy by reducing your development time, you can make me happy by treating me to a cup of coffee :)
|
||||||
|
|
||||||
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BAENLEW8VUJ6G&source=url)
|
Loading…
Reference in New Issue