Philipp Hagemeister
acd69589a5
[YoutubeDL] Do not require default output template to be set
11 years ago
Jaime Marquínez Ferrándiz
77477fa4c9
Merge branch 'atomicparsley' ( closes #2436 )
11 years ago
Sergey M․
610e47c87e
Credit @sainyamkapoor for videoweed extractor
11 years ago
Philipp Hagemeister
29a1ab2afc
Add alternative --prefer-unsecure spelling ( Closes #2697 )
11 years ago
Philipp Hagemeister
9c1fc022ae
[generic] Warn before fallback to automatic search
11 years ago
Philipp Hagemeister
62fec3b2ff
Add new --encoding option ( Fixes #2650 )
11 years ago
Philipp Hagemeister
2cc0082dc0
Credit @phaer for OE1 ( #2646 )
11 years ago
Philipp Hagemeister
330edf2d84
Mention where to find keys in --dump-json ( Fixes #2648 )
11 years ago
pulpe
784763c565
we don't need to run ffmpeg more times
11 years ago
pulpe
149254d0d5
fix ffmpeg error, if youtube-dl runs more than once with --embed-thumbnail with same video
11 years ago
pulpe
0c14e2fbe3
add post processor
11 years ago
Philipp Hagemeister
ad8915b729
Add --no-warnings option ( Fixes #2630 )
11 years ago
Philipp Hagemeister
72546c831e
Merge pull request #2553 from anisse/master
...
Add an option to specify custom HTTP headers
11 years ago
Philipp Hagemeister
7e8c0af004
Add --prefer-insecure option ( Fixes #2364 )
11 years ago
Philipp Hagemeister
e68301af21
Fix getpass on Windows ( Fixes #2547 )
11 years ago
Anisse Astier
410afb2003
Add an option to specify custom HTTP headers
11 years ago
Jaime Marquínez Ferrándiz
bc6d597828
Add bestvideo and worstvideo to special format names ( #2163 )
11 years ago
Philipp Hagemeister
855e2750bc
Credit @mharrys for aftonbladet
11 years ago
Philipp Hagemeister
17b75c0de1
Document width, height, and resolution ( #1445 )
11 years ago
Philipp Hagemeister
2fcec131f5
Credit @juancri for canal13cl ( #2498 )
11 years ago
Philipp Hagemeister
dc3727b65c
Credit @mnem dor GDCVault
11 years ago
Philipp Hagemeister
a339d7ba91
Credit @amlweems for ocw.mit ( #2460 )
11 years ago
niebles
8f563f32ab
Update __init__.py
11 years ago
Philipp Hagemeister
62e609ab77
Ignore BOM in batch files ( Fixes #2450 )
11 years ago
Philipp Hagemeister
f38da66731
Credit @soult for br
11 years ago
Anthony J. Bentley
98c4b8fa1b
Fix minor typo: “to to” → “to”.
11 years ago
Philipp Hagemeister
96d1637082
Credit @Nikerabbit for helsinki
11 years ago
Sergey M.
cbffec0c95
Credit @patheticpat for 4tube.com ( #2398 )
11 years ago
Sergey M.
0cea52cc18
Credit @pulpe for play.iprima.cz and stream.cz
11 years ago
Sergey M.
6d784e87f4
Credit @prutz1311 for normalboots.com ( #2279 )
11 years ago
Philipp Hagemeister
845d14d377
credit @Fnordlab for chilloutzone
11 years ago
Philipp Hagemeister
588128d054
Add --ignore-config option ( Fixes #633 )
11 years ago
Philipp Hagemeister
2a89386232
Credit @MikeCol for malemotion IE
11 years ago
Philipp Hagemeister
8c61d9a9b1
Mention default for -f ( Fixes #2215 )
11 years ago
Philipp Hagemeister
8b1be5cd73
Move --youtube-include-dash-manifest into correct option group
11 years ago
Philipp Hagemeister
4919603f66
[youtube] Make DASH manifest download conditional for now
...
DASH download fails on many videos (all with encrypted signatures? not sure yet), for example 07FYdnEawAQ, with a 403.
11 years ago
Philipp Hagemeister
79bf58f9b5
Document -f worstaudio as well
11 years ago
Philipp Hagemeister
de3ef3ed58
Default to -f best-audio when only audio is requested
11 years ago
Philipp Hagemeister
ba7678f9cc
Add -f bestaudio ( Fixes #2163 )
11 years ago
Philipp Hagemeister
04b4d394d9
Add new --default-search option ( #2193 )
11 years ago
Philipp Hagemeister
7b0817e8e1
[servingsys] Add support
...
This also adds support for brightcove advertisements.
Fixes #2181
11 years ago
Philipp Hagemeister
a7732b672e
Credit @sahutd for franceinter ( #2152 )
11 years ago
Philipp Hagemeister
4950f30890
Fix --list-formats description ( Closes #2142 )
11 years ago
Philipp Hagemeister
17093b83ca
Allow ~ in --download-archive ( Fixes #2137 )
11 years ago
dst
67d28bff12
Tidy help text
11 years ago
Jaime Marquínez Ferrándiz
76b1bd672d
Add ‘--prefer-avconv’ and ‘--prefer-ffmpeg’ options ( #2115 )
...
Affects the ffmpeg post processors, if ‘--prefer-ffmpeg’ is given and both avconv and ffmpeg are installed, it will use ffmpeg. Otherwise it will follow the old behaviour.
11 years ago
Philipp Hagemeister
bac268e243
Clarify --date* documentation ( Fixes #2093 )
11 years ago
Philipp Hagemeister
56327689a2
Move postprocessor into its own package
11 years ago
Philipp Hagemeister
5f263296ea
Merge remote-tracking branch 'epitron/metadata-pp'
...
Conflicts:
youtube_dl/PostProcessor.py
11 years ago
Jaime Marquínez Ferrándiz
41292a3827
Fix list comprehension for decoding the URLs ( fixes #2100 )
...
It wasn’t a comprehension, it was just using the last url from the previous comprehension.
That didn’t raise an error in python 2, but in python 3 the variable was not defined.
11 years ago
Philipp Hagemeister
c774b3c696
Make sure URLs are always character strings ( Fixes #2051 )
11 years ago
Philipp Hagemeister
9656ee5d1d
Document --socket-timeout
11 years ago
Philipp Hagemeister
7c094bfe2f
Reveal a little bit more detail about what we cache ( #858 )
11 years ago
Philipp Hagemeister
0f30658329
Clarify --cache-dir ( #858 )
11 years ago
epitron
e63fc1bed4
Added '--xattrs' option which writes metadata to the file's extended attributes using a youtube-dl postprocessor.
...
Works on Linux, OSX, and Windows.
11 years ago
Philipp Hagemeister
a0ddb8a2fa
Add new --print-traffic option
11 years ago
Philipp Hagemeister
fd46a318a2
Print out encoding information in -v ( #2046 )
11 years ago
Philipp Hagemeister
5d681e960d
Use bidiv instead of fribidi if available ( Fixes #1912 )
11 years ago
Philipp Hagemeister
5a94982abe
Remove unused import
11 years ago
Philipp Hagemeister
04ff34ab89
Show all matching URLs
11 years ago
Philipp Hagemeister
a19fd00cc4
Simplify --playlist-start / --playlist-end interface
11 years ago
Philipp Hagemeister
b83be81d27
Credit @mjorlitzky for pornhd ( #1961 )
11 years ago
Philipp Hagemeister
e3946f989e
Set process title to youtube-dl
...
This allows killing all youtube-dl processes with killall youtube-dl, and shows up nicer in some programs.
11 years ago
Philipp Hagemeister
525ef9227f
Add --get-duration ( Fixes #859 )
11 years ago
Philipp Hagemeister
5fe18bdbde
Add --min-views / --max-views ( Fixes #1979 )
11 years ago
Jaime Marquínez Ferrándiz
dca02c80bc
Fix detection of the extension if the 'extractaudio' is given and improve the error message ( #1969 )
...
Using 'foo.mp4' shouldn't raise an error.
If 'foo' is given suggest using 'foo.%(ext)s' for the template
11 years ago
Philipp Hagemeister
1c088fa89d
Improve --bidi-workaround support
11 years ago
Philipp Hagemeister
db4da14027
Merge remote-tracking branch 'jaimeMF/load-info'
11 years ago
Philipp Hagemeister
0783b09b92
Add a workaround for terminals without bidi support ( Fixes #1912 )
11 years ago
Jaime Marquínez Ferrándiz
1dcc4c0cad
Add --load-info option ( #972 )
...
It just calls the 'YoutubeDL.process_ie_result' with the dictionary from the json file
11 years ago
Philipp Hagemeister
cf6758d204
Document disabling proxy ( #1882 )
11 years ago
Philipp Hagemeister
a0eaa341e1
[configuration] Undo code breakage
11 years ago
Philipp Hagemeister
fb27c2295e
Correct configuration file locations
11 years ago
Philipp Hagemeister
1b753cb334
Add Windows configuration file locations ( #1881 )
11 years ago
Philipp Hagemeister
36a826a50d
Clarify --download-archive help ( #1757 )
11 years ago
Philipp Hagemeister
8796857429
Credit @dstftw for smotri IE
11 years ago
Philipp Hagemeister
6ad14cab59
Add --socket-timeout option
11 years ago
Philipp Hagemeister
b138de72f2
Merge branch 'master' of github.com:rg3/youtube-dl
11 years ago
Philipp Hagemeister
06dcbb71d8
Clarify help of --write-pages ( #1853 )
11 years ago
Philipp Hagemeister
323ec6ae56
Clarify --download-archive help
11 years ago
Nicolas Kaiser
9986238ba9
fix typo in help
11 years ago
Jaime Marquínez Ferrándiz
c2e52508cc
Include the proxy in the parameters for YoutubeDL ( fixes #1831 )
11 years ago
Philipp Hagemeister
0c75c3fa7a
Do not warn about fixed output template if --max-downloads is 1
...
Fixes #1828
11 years ago
Philipp Hagemeister
e03db0a077
Merge branch 'master' into opener-to-ydl
11 years ago
Philipp Hagemeister
38b2db6a66
Credit @takuya0301 for niconico
11 years ago
Philipp Hagemeister
dca0872056
Move the opener to the YoutubeDL object.
...
This is the first step towards being able to just import youtube_dl and start using it.
Apart from removing global state, this would fix problems like #1805 .
11 years ago
Philipp Hagemeister
0a120f74b2
Credit @diffycat for anitube
11 years ago
Philipp Hagemeister
8694c60000
import json for --dump-json
11 years ago
Mohamedh Fazal
9d1538182f
Add an option to dump json information
11 years ago
Philipp Hagemeister
bdde425cbe
Save and restore console title ( Fixes #1782 )
11 years ago
Philipp Hagemeister
d37936386f
Credit @saper for tvp IE ( #1730 )
11 years ago
Philipp Hagemeister
b5bdc2699a
Credit @jelly for gamekings extractor ( #1759 )
11 years ago
Philipp Hagemeister
d4b7da84c3
Clarify -c. Do not pass it in if you don't know what you're doing
...
Suggested in #1743
11 years ago
Jaime Marquínez Ferrándiz
2a9e9b210b
Fix the documentation of '--autonumber-size' ( #1743 )
...
it's '--auto-number' not '--autonumber'
11 years ago
Philipp Hagemeister
d41e6efc85
New debug option --write-pages
11 years ago
Jaime Marquínez Ferrándiz
b5936c0059
Document the %(format_id)s field for the output template
11 years ago
Jaime Marquínez Ferrándiz
3126050c0f
Hide the video password on verbose mode
11 years ago
Philipp Hagemeister
41fd7c7e60
Add new option --abort-on-error
11 years ago
Philipp Hagemeister
fdefe96bf2
Document %(format)s ( #1612 )
11 years ago
Philipp Hagemeister
cce722b79c
Add metavar to --cache-dir
11 years ago
Philipp Hagemeister
1c1218fefc
Merge remote-tracking branch 'jaimeMF/format_selection'
11 years ago
Philipp Hagemeister
cd054fc491
Use upper-case for prefixes in help to signify bytes ( #1043 )
11 years ago
Philipp Hagemeister
f219743e33
Merge remote-tracking branch 'alphapapa/master'
11 years ago
Philipp Hagemeister
a4fd04158e
Do not import *
11 years ago
Philipp Hagemeister
a623df4c7b
Credit @Elbandi for sztvhu
11 years ago
Jai Grimshaw
1fb07d10a3
[youtube] Adds #1312 Download annotations
...
Adds #1321 Download annotations from youtube
Annotations are downloaded and written to a .annotations.xml file using the https://www.youtube.com/annotations_invideo?features=1&legacy=1&video_id=$VIDEOID API.
Added unit test for annotations.
11 years ago
Jaime Marquínez Ferrándiz
dd82ffea0c
Implement format selection in YoutubeDL
...
Now the IEs can set a formats field in the info_dict, with the formats ordered from worst to best quality. It's a list of dicts with the following fields:
* Mandatory: url and ext
* Optional: format and format_id
The format_id is used for choosing which formats have to be downloaded.
Now a video result is processed by the method process_video_result.
11 years ago
Jaime Marquínez Ferrándiz
bc4f29170f
Add a PostProcessor for adding metadata to the file ( closes #1570 )
...
It currently sets the title, the date and the author values.
11 years ago
Jaime Marquínez Ferrándiz
2ae3edb1cf
Fix the printing of the proxy map in debug mode
...
The proxies have to be extracted from the opener.handlers
11 years ago
Philipp Hagemeister
a27b9e8bd5
Move opener setup into a separate helper function
11 years ago
Philipp Hagemeister
15870e90b0
Restore warning when user forgets to quote URL ( #1396 )
11 years ago
Philipp Hagemeister
b24f347190
Merge branch 'download-archive'
...
Conflicts:
youtube_dl/YoutubeDL.py
youtube_dl/__init__.py
11 years ago
Philipp Hagemeister
8dbe9899a9
Allow users to specify an age limit ( fixes #1545 )
...
With these changes, users can now restrict what videos are downloaded by the intented audience, by specifying their age with --age-limit YEARS .
Add rudimentary support in youtube, pornotube, and youporn.
11 years ago
Philipp Hagemeister
c1c9a79c49
Add basic --download-archive option
...
Often, users want to be able to download only videos they haven't seen before, despite the video files having been deleted or moved in the mean time.
When --download-archive FILE is given, the extractor and ID of every download is recorded in the specified file. If it is already present, the video in question is skipped.
11 years ago
Philipp Hagemeister
be8fe32c92
Fix help of --cachedir
11 years ago
Philipp Hagemeister
c38b1e776d
[youtube] Simplify cache_dir code ( #1529 )
11 years ago
Philipp Hagemeister
4f8bf17f23
Merge remote-tracking branch 'holomorph/master'
11 years ago
Mark Oteiza
fa55675593
Support XDG base directory specification
11 years ago
Filippo Valsorda
47192f92d8
implement --no-playlist to only download current video - closes #755
11 years ago
Philipp Hagemeister
46353f6783
[update] Look for .exe extension on Windows ( Fixes #745 )
11 years ago
Philipp Hagemeister
29c7a63df8
Remove debugging code
11 years ago
Philipp Hagemeister
7f74773254
Add option --no-cache-dir
11 years ago
Philipp Hagemeister
c3c88a2664
Allow opts.cachedir == None to disable cache
11 years ago
Philipp Hagemeister
f8061589e6
[youtube] Actually pass in cachedir option
11 years ago
Philipp Hagemeister
edf3e38ebd
[youtube] Improve cache and add an option to print the extracted signatures
11 years ago
Philipp Hagemeister
b61067fa4f
Abort if extractaudio is given without a variable extension ( #1470 )
11 years ago
Philipp Hagemeister
2dad310e2c
Credit @Ruirize for newgrounds
11 years ago
Philipp Hagemeister
830dd1944a
Clarify -i help ( #1453 )
11 years ago
Philipp Hagemeister
7459e3a290
Always correct encoding when writing to sys.stderr ( Fixes #1435 )
11 years ago
Jaime Marquínez Ferrándiz
0b7f31184d
Now --all-sub is a modifier to --write-sub and --write-auto-sub ( closes #1412 )
...
For keeping backwards compatibility --all-sub sets --write-sub if --write-auto-sub is not given
11 years ago
Jaime Marquínez Ferrándiz
ac4f319ba1
Credit @iemejia
11 years ago
Ismael Mejia
72836fcee4
Merge branch 'master' into subtitles_rework
11 years ago
Ismael Mejia
d6e203b3dc
[subtitles] fixed multiple subtitles language separated by comma after merge
...
As mentioned in the pull request, I forgot to include this changes.
aa6a10c44a
11 years ago
Jaime Marquínez Ferrándiz
085bea4513
Credit @Huarong for tv.sohu.com
11 years ago
Allan Zhou
bdc6b3fc64
add support for "-f mp4" for YouTube
11 years ago
Jaime Marquínez Ferrándiz
920ef0779b
Hide the password and username in verbose mode ( closes #1089 )
11 years ago
Philipp Hagemeister
c496ca96e7
Fix platform name in Python 2 with --verbose ( Closes #1228 )
11 years ago
Ismael Mejia
06a401c845
Merge branch 'master' into subtitles_rework
11 years ago
Philipp Hagemeister
88a79ce6a6
Delete default user agent ( Fixes #1309 )
11 years ago
Jaime Marquínez Ferrándiz
aa6a10c44a
Allow to specify multiple subtitles languages separated by commas ( closes #518 )
11 years ago
Jaime Marquínez Ferrándiz
d4051a8e05
Add a post processor for embedding subtitles in mp4 videos ( closes #1052 )
11 years ago
Ismael Mejia
18b4e04f1c
Merge branch 'master' into subtitles_rework
11 years ago
Ismael Mejia
1865ed31b9
[subtitles] separated subtitle options in their own group
11 years ago
Jaime Marquínez Ferrándiz
4a55479fa9
Credit Pierre Rudloff for JeuxVideoIE and UnistraIE
11 years ago
Ismael Mejia
33eb0ce4c4
[subtitles] removed only-sub option (--skip-download achieves the same
...
functionality)
11 years ago
Ismael Mejia
505c28aac9
Separated subtitle options in their own group
11 years ago
Ismael Mejia
953e32b2c1
[dailymotion] Added support for subtitles + new InfoExtractor for
...
generic subtitle download.
The idea is that all subtitle downloaders must descend from SubtitlesIE
and implement only three basic methods to achieve the complete subtitle
download functionality. This will allow to reduce the code in YoutubeIE
once it is rewritten.
11 years ago
Jaime Marquínez Ferrándiz
05afc96b73
Print urls from the batch file with --verbose (related #1155 )
11 years ago
Philipp Hagemeister
f631c3311a
Hint that --update may need sudo
12 years ago
Philipp Hagemeister
de29c4144e
Ignore errors in git error handling in verbose mode in Python 3
12 years ago
Philipp Hagemeister
f3bab0044e
Write debugging output to stderr ( #1059 )
12 years ago
alphapapa
0025da15cf
Clarify that download rate is in bytes per second
...
I found f918ec7ea2
but it is still not clear to anyone who hasn't read Issue #723 whether the limit is in bits or bytes. This is doubly confusing because 1) ISPs usually advertise speeds in bits per second, and 2) lowercase "k" and "m" are often used in correlation with bits rather than bytes.
12 years ago
Philipp Hagemeister
8dba13f7e8
Squelch git not found exception ( #973 )
12 years ago
Philipp Hagemeister
deacef651f
Improve formatting
12 years ago
Philipp Hagemeister
62067cb9b8
Shorten --list-extractor-descriptions to --extractor-descriptions
12 years ago
Philipp Hagemeister
0f81866329
Add --list-extractor-descriptions (human-readable list of IEs)
12 years ago
Philipp Hagemeister
7dba9cd039
Sort IEs alphabetically in --list-extractors
12 years ago
Philipp Hagemeister
0beb3add18
Separate downloader options
12 years ago
Jaime Marquínez Ferrándiz
023fa8c440
Add function add_default_info_extractors to YoutubeDL
...
It adds to the list the ies returned by ge_extractors
12 years ago
Philipp Hagemeister
ba7a1de04d
Credit @gitprojs for auengine
12 years ago
Ismael Mejia
65cceef8f4
Added support for additional vtt subtitle format (WebVTT) in youtube-dl.
12 years ago
Jaime Marquínez Ferrándiz
b004821fa9
Add the option "--write-auto-sub" to download automatic subtitles from Youtube
...
Now automatic subtitles are only downloaded if the option is given.
(closes #903 )
12 years ago
Jaime Marquínez Ferrándiz
c6c1974672
Add "--video-password" option (related #889 )
...
Used only for accessing a private video
Restore the error when the account is missing
12 years ago
Philipp Hagemeister
df725153d2
Credit mc2avr for JukeboxIE ( #924 )
12 years ago
Filippo Valsorda
93eb15c573
clean up printing in __init__.py
12 years ago
Jaime Marquínez Ferrándiz
8222d8de88
Split FileDownloader in two classes: FileDownloader and YoutubeDL
...
YoutubeDL is the class that coordinates everything
FileDownloader gets a filename and an info dict and downloads the video.
12 years ago
Philipp Hagemeister
0824c28c8b
Remove mentions of old InfoExtractors module
12 years ago
Philipp Hagemeister
3c25b9abae
Remove useless headers
12 years ago
Philipp Hagemeister
8756c5fe7a
Merge remote-tracking branch 'origin/vimeo_passworded_videos'
12 years ago
Jaime Marquínez Ferrándiz
c3ab8f866c
Change metavar of "--sub-format" from LANG to FORMAT
12 years ago
Jaime Marquínez Ferrándiz
51090d636b
VimeoIE: allow to download password protected videos
12 years ago
Philipp Hagemeister
53f72b11e5
Allow unsetting the proxy with the --proxy option
12 years ago
Philipp Hagemeister
1bd96c3a60
Deprecate --only-sub
12 years ago
jakeogh
1a2adf3f49
added --get-id option to print video IDs
12 years ago
Jaime Marquínez Ferrándiz
be74864ace
Credit @JohnyMoSwag for WorldstarhiphopIE ( #730 )
12 years ago
Philipp Hagemeister
0ae456f08a
Credit @julienfr112 for Ina IE ( #823 )
12 years ago
Philipp Hagemeister
ea6d901e51
Add --no-check-certificate ( #814 )
12 years ago
Philipp Hagemeister
0d94f2474c
Work around a Python bug on Windows with UTF-8 configuration ( #820 )
12 years ago
Philipp Hagemeister
95464f14d1
Credit @yasoob for IE
12 years ago
Philipp Hagemeister
c34407d16c
Simplify RedTube
12 years ago
Philipp Hagemeister
11d9224e3b
add --write-thumbnail option to download thumbnail (Suggested by `)
12 years ago
Philipp Hagemeister
dbc50fdf82
Fix help for --proxy
12 years ago
Philipp Hagemeister
5fb16555af
--proxy option
12 years ago
Philipp Hagemeister
08b2ac745a
Default to --title ( Fixes #499 )
12 years ago
Philipp Hagemeister
434aca5b14
Automatically set HTTPS proxy if given ( Fixes #805 )
12 years ago
Jaime Marquínez Ferrándiz
bd55852517
Allow to select videos to download by their upload dates (related #137 )
...
Only absolute dates.
12 years ago
Jaime Marquínez Ferrándiz
3820df0106
Merge pull request #801 from expleo/add_referer_support
12 years ago
Bjorn Heesakkers
28535652ab
Adds support for passing a referer.
12 years ago
Jaime Marquínez Ferrándiz
f4b659f782
Document order of preference for format selection ( closes #798 )
12 years ago
Philipp Hagemeister
c76cb6d548
Correct indentation
12 years ago
Philipp Hagemeister
75b5c590a8
Do not read configuration files if explicit arguments are given by a host program ( #792 )
12 years ago
Jaime Marquínez Ferrándiz
4469666780
Merge pull request #792 from fp7/master
...
Parameters as arguments to main
12 years ago
Finn Petersen
30f2999962
Added parenthesis for explicity
12 years ago
Jaime Marquínez Ferrándiz
74e3452b9e
Add playlist and playlist_index to the help string for the output option
...
Also split the help string in different lines to make editing easier.
12 years ago
Finn Petersen
b8ad4f02a2
Arguments as parameter to function _real_main so it can be used programmatically
12 years ago
Philipp Hagemeister
855703e55e
Option to dump intermediate pages
12 years ago
Philipp Hagemeister
844d1f9fa1
Removed overly verbose options and arguments (Should be obvious from the previous lines)
12 years ago
Stanislav Kupryakhin
213c31ae16
Added option --autonumber-size:
...
Specifies the number of digits in %(autonumber)s when it is present in output filename template or --autonumber option is given
12 years ago
Philipp Hagemeister
e8600d69fd
Credit @catch22 for ARD IE
12 years ago
Filippo Valsorda
5cb3c0b319
Merge pull request #699 by @iemejia
...
Removed innecesary function to convert subtitles, improved use of the youtube api
12 years ago