diff --git a/CRAN-RELEASE b/CRAN-RELEASE index f699219..169215e 100644 --- a/CRAN-RELEASE +++ b/CRAN-RELEASE @@ -1,2 +1,2 @@ -This package was submitted to CRAN on 2019-10-28. -Once it is accepted, delete this file and tag the release (commit f0fefa0573). +This package was submitted to CRAN on 2020-01-09. +Once it is accepted, delete this file and tag the release (commit 81b63042c2). diff --git a/README.Rmd b/README.Rmd index 5321ee9..d702028 100644 --- a/README.Rmd +++ b/README.Rmd @@ -87,6 +87,6 @@ caption #> 10 10 includes various packages as well ~ 40.4 6.21 cpbtcsGE0~ #> # ... with 1,410 more rows -# Save the caption as an Excel file and open it right it away: +# Save the caption as an Excel file and open it right away: get_caption(url = url, savexl = TRUE, openxl = TRUE) ``` diff --git a/README.md b/README.md index 44982b7..e6280ac 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,6 @@ caption #> 10 10 includes various packages as well ~ 40.4 6.21 cpbtcsGE0~ #> # ... with 1,410 more rows -# Save the caption as an Excel file and open it right it away: +# Save the caption as an Excel file and open it right away: get_caption(url = url, savexl = TRUE, openxl = TRUE) ``` diff --git a/docs/articles/youtubecaption_vignette.html b/docs/articles/youtubecaption_vignette.html index c308d70..43a0003 100644 --- a/docs/articles/youtubecaption_vignette.html +++ b/docs/articles/youtubecaption_vignette.html @@ -85,7 +85,7 @@

How to Use Youtubecaption

JooYoung Seo

-

2019-12-21

+

2020-01-12

Source: vignettes/youtubecaption_vignette.Rmd diff --git a/docs/index.html b/docs/index.html index fa2b884..9b69504 100644 --- a/docs/index.html +++ b/docs/index.html @@ -148,7 +148,7 @@

#> 10 10 includes various packages as well ~ 40.4 6.21 cpbtcsGE0~ #> # ... with 1,410 more rows -# Save the caption as an Excel file and open it right it away: +# Save the caption as an Excel file and open it right away: get_caption(url = url, savexl = TRUE, openxl = TRUE) diff --git a/docs/news/index.html b/docs/news/index.html index cbcb69d..9ae2a33 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -124,7 +124,7 @@

Changelog

-youtubecaption 0.1.3 Unreleased +youtubecaption 0.1.3 2020-01-10

#> Warning: path[1]="C:\Anaconda3\envs\bookworm/python.exe": The system cannot find the file specified
#> Warning: path[1]="C:\Anaconda3\envs\bookworm/python.exe": The system cannot find the file specified
#> Error in py_call_impl(callable, dots$args, dots$keywords): CouldNotRetrieveTranscript: Could not get the transcript for the video https://www.youtube.com/watch?v=cpbtcsGE0OA! Most likely subtitles have been disabled by the uploader or the video is no longer available. -#> -#> Detailed traceback: -#> File "C:\Anaconda3\envs\R_youtube_caption\lib\site-packages\youtube_transcript_api\_api.py", line 69, in get_transcripts -#> raise exception -#> File "C:\Anaconda3\envs\R_youtube_caption\lib\site-packages\youtube_transcript_api\_api.py", line 66, in get_transcripts -#> data[video_id] = cls.get_transcript(video_id, languages, proxies) -#> File "C:\Anaconda3\envs\R_youtube_caption\lib\site-packages\youtube_transcript_api\_api.py", line 100, in get_transcript -#> raise YouTubeTranscriptApi.CouldNotRetrieveTranscript(video_id)
caption
#> Error in eval(expr, envir, enclos): object 'caption' not found
+caption <- get_caption(url)
#> Warning: path[1]="C:\Anaconda3\envs\bookworm/python.exe": The system cannot find the file specified
#> Warning: path[1]="C:\Anaconda3\envs\bookworm/python.exe": The system cannot find the file specified
caption
#> # A tibble: 1,420 x 5 +#> segment_id text start duration vid +#> <int> <chr> <dbl> <dbl> <chr> +#> 1 1 thank you for coming to a meeting today 7.13 8.32 cpbtcsGE0~ +#> 2 2 in regards to data science GUI with 10.7 8.44 cpbtcsGE0~ +#> 3 3 happy with chief data scientist in our 15.4 7.11 cpbtcsGE0~ +#> 4 4 studio as well as the member of the our 19.1 7.23 cpbtcsGE0~ +#> 5 5 Foundation and an attempt professor at 22.6 6 cpbtcsGE0~ +#> 6 6 Stanford and at the University of 26.4 6.48 cpbtcsGE0~ +#> 7 7 Auckland he builds both computational 28.6 7.17 cpbtcsGE0~ +#> 8 8 and cognitive tools to make data science 32.8 7.5 cpbtcsGE0~ +#> 9 9 easier faster and more times his work 35.7 7.01 cpbtcsGE0~ +#> 10 10 includes various packages as well as 40.4 6.21 cpbtcsGE0~ +#> # ... with 1,410 more rows
# Save the caption as an Excel file and open it right it away ## Changing path to temp for the demonstration purpose only: -get_caption(url = url, savexl = TRUE, openxl = TRUE, path = tempdir())
#> Warning: path[1]="C:\Anaconda3\envs\bookworm/python.exe": The system cannot find the file specified
#> Warning: path[1]="C:\Anaconda3\envs\bookworm/python.exe": The system cannot find the file specified
#> Error in py_call_impl(callable, dots$args, dots$keywords): CouldNotRetrieveTranscript: Could not get the transcript for the video https://www.youtube.com/watch?v=cpbtcsGE0OA! Most likely subtitles have been disabled by the uploader or the video is no longer available. -#> -#> Detailed traceback: -#> File "C:\Anaconda3\envs\R_youtube_caption\lib\site-packages\youtube_transcript_api\_api.py", line 69, in get_transcripts -#> raise exception -#> File "C:\Anaconda3\envs\R_youtube_caption\lib\site-packages\youtube_transcript_api\_api.py", line 66, in get_transcripts -#> data[video_id] = cls.get_transcript(video_id, languages, proxies) -#> File "C:\Anaconda3\envs\R_youtube_caption\lib\site-packages\youtube_transcript_api\_api.py", line 100, in get_transcript -#> raise YouTubeTranscriptApi.CouldNotRetrieveTranscript(video_id)
# } +get_caption(url = url, savexl = TRUE, openxl = TRUE, path = tempdir())
#> Warning: path[1]="C:\Anaconda3\envs\bookworm/python.exe": The system cannot find the file specified
#> Warning: path[1]="C:\Anaconda3\envs\bookworm/python.exe": The system cannot find the file specified
#> # A tibble: 1,420 x 5 +#> segment_id text start duration vid +#> <int> <chr> <dbl> <dbl> <chr> +#> 1 1 thank you for coming to a meeting today 7.13 8.32 cpbtcsGE0~ +#> 2 2 in regards to data science GUI with 10.7 8.44 cpbtcsGE0~ +#> 3 3 happy with chief data scientist in our 15.4 7.11 cpbtcsGE0~ +#> 4 4 studio as well as the member of the our 19.1 7.23 cpbtcsGE0~ +#> 5 5 Foundation and an attempt professor at 22.6 6 cpbtcsGE0~ +#> 6 6 Stanford and at the University of 26.4 6.48 cpbtcsGE0~ +#> 7 7 Auckland he builds both computational 28.6 7.17 cpbtcsGE0~ +#> 8 8 and cognitive tools to make data science 32.8 7.5 cpbtcsGE0~ +#> 9 9 easier faster and more times his work 35.7 7.01 cpbtcsGE0~ +#> 10 10 includes various packages as well as 40.4 6.21 cpbtcsGE0~ +#> # ... with 1,410 more rows
# }