sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Output file size with -s or -g
Labels: request

Was: http://bitbucket.org/rg3/youtube-dl/issue/141/

If the file size was outputted it would be possible to script youtube-dl to test if the current video the the harddrive is in the best possible quality.

It happens that Youtube re-encode videos, and with higher resolution, so being able to extract the file size from youtube-dl would be very useful.

File size in bytes would be preferred.
Repository: youtube-dl
Issue: Create a php API and demo page
Labels: php

youtube-dl is often embedded by php applications. There should be an example php page included, with the following features:
- Enter URLs and execute youtube-dl (in the background)
- Show progress of youtube-dl instances
- Offer a way to abort youtube-dl
- Allow to download files from the webhost's temporary directory
- Offer conversion to mp3/aac/ogg vorbis

This may require an additional output option in youtube-dl, for example the ability to output JSON sentences.
Repository: youtube-dl
Issue: integrate template "special sequences" in help output
Labels: request

like in http://rg3.github.com/youtube-dl/documentation.html#d7
Repository: youtube-dl
Issue: Add a path option to --keep-video
Labels: request

Hey there,

I think it would be a great idea to have the ability to save the video and audio in a different path when using --keep-video and --extract-audio.

I know the video gets deleted and you added the --keep-video option which is awesome. But wouldn't it be great to be able to add a path after like: --keep-video "../videos"

What do you think?

Cheers!
Repository: youtube-dl
Issue: add support for picasaweb.google.com video clips
Labels: site-support-request

> /opt/local/bin/youtube-dl -t https://picasaweb.google.com/109059916371131820727/SommerhusTur08#5298873674471311698
> WARNING: Falling back on generic information extractor.
> [generic] SommerhusTur08#5298873674471311698: Downloading webpage
> [generic] SommerhusTur08#5298873674471311698: Extracting information
Repository: rust
Issue: Add debug representation of trait objects
Labels: A-debuginfo,P-low,T-compiler,C-feature-request,A-trait-objects

### Updated descrption

Trait objects (`~T` and `@T` where `T` is a trait) are objects that hide their implementation and carry a virtual method dispatch table (i.e. vtable).

So, two things:
1. Debuggers will want to be able to bypass the abstraction barrier and see the hidden implementation.
2. They are also likely to want to be able to see the vtable.
   - I am not sure how flexible the debug format is for gdb, but newer versions of gdb do support printing the vtable for C++ objects (via `info vtbl` or perhaps `info vtable`).  It would be cool if we could massage our debug info so that gdb can just print out our vtables too, the same way.
### Original description

There is none.
Repository: youtube-dl
Issue: --extract-audio progress
Labels: request

The following patch will send the encoding progress output from FFMPEG to youtube-dl stdout ( code taken from http://stackoverflow.com/a/2525493 )

``` diff
--- youtube-dl  2012-01-16 03:23:22.000000000 +0000
+++ youtube-dl.new  2012-02-08 01:02:28.366720567 +0000
@@ -4075,7 +4075,13 @@
        cmd = ['ffmpeg', '-y', '-i', _encodeFilename(path), '-vn'] + acodec_opts + more_opts + ['--', _encodeFilename(out_path)]
        try:
            p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-           stdout,stderr = p.communicate()
+           while True:
+               out = p.stderr.read(1)
+               if out == '' and p.poll() != None:
+                   break
+               if out != '':
+                   sys.stdout.write(out)
+                   sys.stdout.flush()
        except (IOError, OSError):
            e = sys.exc_info()[1]
            if isinstance(e, OSError) and e.errno == 2:
```
Repository: rust
Issue: Rustdoc needs to handle conditional compilation somehow
Labels: T-rustdoc,E-hard,P-low,C-feature-request

We have some functions that are reimplemented per architecture, with docs only on one implementation. Rustdoc should ideally be able to merge these docs.

More seriously though a bunch of our libc hierarchy can't be viewed because it's conditionally compiled and the docs are built on linux.

Probably rustdoc should extract its documentation before pruning the AST for conditional compilation, collapse things with the same name into a single document, then run resolve.
Repository: youtube-dl
Issue: Add option for start-point
Labels: request

Hi, it would be wonderful to have an option to download a video from a given starting point.
For example this http://www.youtube.com/watch?v=d-fQJHi6A-U video is about 9h long, but i only want to have the last hour.
Of course it would be nice to be able to just pass a time code, but start-byte or something similar would be sufficient. 
Is something like that possible?
Repository: youtube-dl
Issue: Coursera site download support?
Labels: site-support-request

Is it possible to support downloads from www.coursera.org courses?  Assuming of course, someone has a valid userid and login to the courses?
Repository: youtube-dl
Issue: --extract-audio and skipping video file download
Labels: request

Hello, 

By default --extract-audio erases the video file. That is, the next time using youtube-dl with --extract-audio again grabs the video file to convert it although it already exists as audio file. 

Can you think of a way to implement a check procedure that skips to download the video file if the corresponding audio file already exists without actually keeping the corresponding video file?

Regards

Robert
Repository: rust
Issue: rustdoc should be able to build documentation from compiled crates
Labels: T-rustdoc,C-enhancement,A-metadata,P-low

rustdocs are built from attributes which are (should be) stored in the crate metadata. rustdoc should be able to construct the crate documentation from the crate metadata with nearly the same fidelity as from the original source.

**Update(2024, fmease)**: In today's terms, this essentially asks for the option[^1] to build docs based on `rustc_middle::ty` instead of the HIR in the *all* cases, not just for inlined cross-crate re-exports and synthetic impls.

[^1]: Some t-rustdoc members (incl. myself, @fmease) are even inclined to drop "HIR cleaning" entirely once the important https://github.com/rust-lang/rust/labels/A-cross-crate-reexports issues have been addressed (which is non-trivial I have to add). In the long term, that move would greatly improve the correctness of rustdoc and make it easier to develop certain features. Namely anything that depends on more complex "type-based reasoning" (for which `rustc_middle::ty` is a lot better suited compared to the HIR).
Repository: youtube-dl
Issue: Multi-Threaded downloading for playlists
Labels: request

When downloading playlists youtube-dl could use multiple connections to download videos at the same time, right now my dl speed averages at 50k/s, and the full playlist is about 15G (defcon19).

I've been running 4 terminals with --playlist-start=N so far, and spaced them out.
Repository: youtube-dl
Issue: Support "rental" type videos (was: ERROR: unable to extract uploader nickname)
Labels: request

I attempted to download bnAsVApebL8, and got the error "ERROR: unable to extract uploader nickname".
Repository: youtube-dl
Issue: Ability to download a part of the video on youtube
Labels: request

Youtube allow to starts/ends the video where you want without having to download the full video
example:
http://youtube.com/embed/r3CYgOK7n1k?start=83&end=86

Only a part of the video is downloaded, not the whole. It would be nice if youtube-dl could only download a part of the video too.
Repository: youtube-dl
Issue: Include video ID in ERROR: messages
Labels: request

Hi,

I was wondering if it is possible to include the video ID in the error messages, eg. turning lines like
_ERROR: YouTube said: This video contains content from UMG, who has blocked it in your country on copyright grounds._
to
_ERROR [videoIDhere]: YouTube said: This video contains content from UMG, who has blocked it in your country on copyright grounds._
to be able to know which video failed when letting youtube-dl work on a playlist.
I wrote a little script that utilizes youtube-dl and mplayer to playback videos, and if this was changed I could unblock a few videos on the fly (until then I would have to download the whole playlist again via a proxy).

Regards
Repository: youtube-dl
Issue: Download range
Labels: request

Hi,

Is there any way to implement a download range? To download starting from 1m 30 to 1m 50?

Thanks
Repository: youtube-dl
Issue: Add a --play option
Labels: postprocessors

A common case is just wanting to watch the downloaded video. For that, we should add an option to play the video.

For starters, it can be a simple post-processing action. However, I think the user experience would be better if we'd have an option to either autoplay once a certain buffer (say, 2MB) has been written to disk. We may also tee the output to a pipe and pass _that_ to the video player in order for the video player not to stop playback once it reaches the current number of downloaded bytes.
Repository: youtube-dl
Issue: Request rate limits
Labels: request,yt-dlp

Another minor issue with the Justin.tv/Twitch.tv support. It seems the Justin.tv API has a rate limit, but it's not limited to a certain bandwidth, rather to a certain number of requests.

This creates a problem with huge channels. Eg, if I add a line to print the requested URLs:

```
$ youtube-dl -v http://www.twitch.tv/manvsgame
http://api.justin.tv/channel/archives/manvsgame.json?offset=0&limit=100
http://api.justin.tv/channel/archives/manvsgame.json?offset=100&limit=100
[snip]
http://api.justin.tv/channel/archives/manvsgame.json?offset=1600&limit=100
http://api.justin.tv/channel/archives/manvsgame.json?offset=1700&limit=100
ERROR: unable to download video info JSON: HTTP Error 400: Bad Request
```

Here's a simple sort-of-fix, that at least allows youtube-dl's --ignore-errors option to work: https://github.com/vasi/youtube-dl/compare/justintv-ratelimit . Ideally though, there should be some functionality within youtube-dl to allow limiting the request rate.
Repository: three.js
Issue: Fog gradients / Different colors
Labels: Enhancement

Hello,

Is there any way to have gradient color for the fog or have the fog color change in certain areas of the fog, instead of fog being a single color?

Thanks,
Reece
Repository: youtube-dl
Issue: Return codes/ Exit statuses -- are they documented ?
Labels: request

Hello there!
I use youtube-dl regularily on my laptop and i've seen it's also used in shk3/edx-downloader (a tool to download videso from edx online university), which I forked tonight and that i started hacking.

Now: one of the bugs i noticed is that it invokes youtube-dl via os.system, but if something bad happens it just lets the download fails and won't re-download the video.

I was then wondering if there are some particular exit codes to check for.
Or can i just assume that anything different from zero is a bad return value ?

Thanks in advance,
Emanuele Santoro
Repository: youtube-dl
Issue: Feature request: save audio as mono
Labels: request,postprocessors

This option is lacking and I think it is very important for those who download lectures or talk shows from youtube. 

Stereo there is useless, and saving a file as mono makes the file size two times smaller. 
Also, some lecture videos have good sound only on one channel, while the other remains nearly silent, which is quite annoying when listening. This function would get rid of that, too.

I think it is definitely worth implementing.
Repository: youtube-dl
Issue: Renovate the current youtube-dl website.
Labels: gh-pages

I know it's not really an issue but the speed with which youtube-dl is growing i think we should also think about renovating the old website by adding new and better graphics. I am not that good with graphics and have little experience making websites otherwise i would have done this myself . However i can help anyone who goes forward to renovate the website.
Repository: react
Issue: Declarative API for installing global DOM event handlers
Labels: Type: Feature Request,Component: DOM,Resolution: Backlog,Partner

#284 reminded me that one thing I've sometimes wanted is to install a handler on window for `keypress` (for keyboard shortcuts) or `scroll`. Right now I can just do `window.addEventListener` in `componentDidMount` but since React is listening already, it would be nice if there were some way for me to intercept those events. (In addition, receiving normalized synthetic events is generally more useful.)
Repository: youtube-dl
Issue: Show ffmpeg progress
Labels: request,postprocessors

Hi there,

It would be nice to show progress of ffmpeg while extracting audio from video files.
Repository: youtube-dl
Issue: request: merger downloaded parts into one file
Labels: request

I use youtube-dl to download youku (www.youku.com) videos, and it downloads all parts of one video from xxx.part00 to xxx.partXX. Every part is 3 minutes long, so I have to open every part in order to watch the whole video.
Can merger all downloaded parts into one file?
Repository: youtube-dl
Issue: 2-way auth to google
Labels: request

Does youtube-dl work with 2-way authentication to google, or application-specific passwords?
I tried both account password and app-specific generated password, 'unable to log in'
Repository: youtube-dl
Issue: feature request: download all videos of Xvideos user
Labels: request

In Youtube it's possible to download all videos of $USER. Wish the same for Xvideos

http://www.xvideos.com/profiles/$USER#_tabVideos for example http://www.xvideos.com/profiles/riyadutta#_tabVideos would download all  6 uploaded videos.
Repository: rust
Issue: type-check lang items
Labels: A-frontend,A-type-system,I-crash,E-hard,C-enhancement,P-low,T-compiler,A-lang-item,glacier,T-types,requires-internal-features

These aren't currently well-defined by the language.  If you define anything with a somewhat matching LLVM signature, it will compile. Not only does it not care about the type signatures matching what it expects, there is no handling for these being defined on the wrong types of AST nodes.
Repository: youtube-dl
Issue: Faster Downloads
Labels: request

I love youtube-dl! Its amazing... but when trying to download larger files (1 hour or longer) it takes a decent amount of time. Ive heard of aria2 and some wrappers you can use but they haven't seem to been update in quite some time. Is there anything available to make the downloads faster without losing quality?
Repository: youtube-dl
Issue: Stop operation after "dateafter" videos are downloaded
Labels: request

When I use the "dateafter" command to download videos after a certain date, it starts to download the most recent video and then progresses backwards in time to download the first video after the "dateafter" date.

However, it then continues to go through all the videos before the "dateafter" date (although it doesn't download them). I'd like the operation just to stop after downloading the first video after the "dateafter" date.

Would this be possible?
Repository: youtube-dl
Issue: Netflix 
Labels: site-support-request

Is this utility works with Netflix downloading?

I have  got the error:"ERROR: Invalid URL"

Thanks
Repository: youtube-dl
Issue: Add support for yle
Labels: site-support-request

https://github.com/aajanki/yle-dl by @aajanki may provide what needed

$ ./youtube-dl --verbose http://areena.yle.fi/radio/2048905
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://areena.yle.fi/radio/2048905']
[debug] youtube-dl version 2013.10.07
[debug] Python version 2.6.6 - Linux-3.2.46-grbfs-kapsi-x86_64-with-debian-6.0.7
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
[generic] 2048905: Downloading webpage
[generic] 2048905: Extracting information
ERROR: Unsupported URL: http://areena.yle.fi/radio/2048905; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 348, in extract_info
    ie_result = ie.extract(url)
  File "./youtube-dl/youtube_dl/extractor/common.py", line 117, in extract
    return self._real_extract(url)
  File "./youtube-dl/youtube_dl/extractor/generic.py", line 152, in _real_extract
    raise ExtractorError(u'Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://areena.yle.fi/radio/2048905; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Repository: nvm
Issue: NVM in fish
Labels: shell: fish

How do I install NVM for the fish shell?
Repository: youtube-dl
Issue: Error report on "https://www.culturall.com/ticket/ists/static/test_stream/1.mc"
Labels: site-support-request

Hi,
## I got the following error output, Win8 Pro 64Bit:

E:>youtube-dl --verbose https://www.culturall.com/ticket/ists/static/test_strea
m/1.mc
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.culturall.com/ticket/ists/
static/test_stream/1.mc']
[debug] youtube-dl version 2013.10.18.2
[debug] Python version 2.7.5 - Windows-8-6.2.9200
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
[generic] 1.mc: Downloading webpage
[generic] 1.mc: Extracting information
ERROR: Unsupported URL: https://www.culturall.com/ticket/ists/static/test_stream
/1.mc; please report this issue on https://yt-dl.org/bug . Be sure to call youtu
be-dl with the --verbose flag and include its complete output. Make sure you are
 using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 353, in extract_info
  File "youtube_dl\extractor\common.pyo", line 117, in extract
  File "youtube_dl\extractor\generic.pyo", line 180, in _real_extract
ExtractorError: Unsupported URL: https://www.culturall.com/ticket/ists/static/te
st_stream/1.mc; please report this issue on https://yt-dl.org/bug . Be sure to c
all youtube-dl with the --verbose flag and include its complete output. Make sur
## e you are using the latest version; type  youtube-dl -U  to update.

Kind regards, Hans
Repository: youtube-dl
Issue: Download music stream from Amazon
Labels: site-support-request,account-needed

It would be nice to be able to download the music here:

```
pierre@Rudloff:~$ youtube-dl "http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1001428681#" -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1001428681#', '-v']
[debug] youtube-dl version 2013.10.18.2
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.2
[debug] Proxy map: {}
[redirect] Following redirect to http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1001428681
WARNING: Falling back on generic information extractor.
[generic] feature.html?ie=UTF8&docId=1001428681: Downloading webpage
[generic] feature.html?ie=UTF8&docId=1001428681: Extracting information
ERROR: Unsupported URL: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1001428681; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 353, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 117, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 180, in _real_extract
    raise ExtractorError(u'Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1001428681; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
```
Repository: rust
Issue: Audit for binary IEEE 754-2008 compliance on relevant platforms
Labels: E-hard,C-enhancement,T-libs-api,A-floating-point

@thestinger filed https://github.com/mozilla/rust/issues/9987, and I thought we should get the ball rolling on documenting and testing IEEE 754-2008 compliance for Rust on non-embedded platforms.

I don't think that there isn't any formal decision that we should implement IEEE 754-2008 but it would _really_ make sense for many applications of Rust.
- Scientific applications
- Games with synchronized or reproducible simulations (multiplayer, recordings)
- JS interpreters
- Anything that needs to be portable

The (binary part of the) standard covers
- Floating-point data format (for interchange and for computation)
- Basic operations (add, sub, mul, div, fma, sqrt, compare, &c.)
- Integer to floating-point conversion
- Floating-point to floating-point conversion
- Floating-point to string conversion
- Floating-point exceptions and handling (NaNs, exceptions, flags, &c.)

So all of this would need tests, and documentation. And my plan is to compile a suite of tests by slowly going through the standard page-by-page and write the basic conformance tests, then do another (even slower pass) that compiles another list of accuracy tests.

@bjz, @thestinger, @pcwalton, @catamorphism, @graydon and anyone interested:  Any inputs on this? Is it a good idea at this point in time?
Repository: youtube-dl
Issue: Create --max-actual-downloads
Labels: request

Hi

The --max-downloads does not care about if the video has been downloaded now or not.
For backwardcompability it is better to create a new option rather then change.

In YoutubeDL.py line 546 should be moved to line 694 instead if the new option is active.

https://github.com/rg3/youtube-dl/blob/7193498811cb17a66ca57569a8588adb28ba2b27/youtube_dl/YoutubeDL.py#L546

https://github.com/rg3/youtube-dl/blob/7193498811cb17a66ca57569a8588adb28ba2b27/youtube_dl/YoutubeDL.py#L694
with same indention as Line 695
Repository: rust
Issue: Re-enable debuginfo tests on Android
Labels: A-testsuite,A-debuginfo,C-enhancement,O-android,T-compiler

Some debuginfo tests were disabled when running on Android when we added support for running tests on the Android bot (#9120). We should try to enable all debuginfo on Android. (See the results of https://cs.github.com/rust-lang/rust?q=ignore-android%20path%3A%2F%5Esrc%5C%2Ftest%5C%2Fdebuginfo%5C%2F%2F for which tests are disabled)

Debugging with gdb on android target works differently from debugging with gdb on linux.

There are two options however it is not high priority
- we can modify android gdb to work like linux gdb
- we can modify debug-info to work with android gdb