sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Unable to download purchased movie
Labels: account-needed

Attempted to download a purchased movie to see if I could download it via youtube-dl

Unfortunately, the following trace occurred with the run args:

```
$ youtube-dl --verbose -ct -u 'username@domain.com' -p 'password' 'z4l7OZLIh9w'

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-ct', '-u', '<PRIVATE>', '-p', '<PRIVATE>', 'z4l7OZLIh9w']
[debug] youtube-dl version 2013.11.15.1
[debug] Python version 2.7.3 - Linux-3.2.0-55-generic-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Logging in
[youtube] Confirming age
[youtube] z4l7OZLIh9w: Downloading video webpage
[youtube] z4l7OZLIh9w: Downloading video info webpage
[youtube] z4l7OZLIh9w: Extracting video information
[youtube] z4l7OZLIh9w: Encrypted signatures detected.
[youtube] encrypted signature length 85 (40.44), itag 60, html5 player vflqSl9GX
[youtube] encrypted signature length 85 (40.44), itag 52, html5 player vflqSl9GX
ERROR: no known formats available for video; 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 348, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 125, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1452, in _real_extract
    video_url_list = self._get_video_url_list(url_map)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1189, in _get_video_url_list
    raise ExtractorError(u'no known formats available for video')
ExtractorError: no known formats available for video; 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.
```

Also tried specifying mp4. I'll try other formats.
Repository: youtube-dl
Issue: Use the m4v extension for Dash video files
Labels: request

When downloading files I usually add a bunch of types, so i'm sure i'm at least downloading something. 

youtube-dl --no-overwrites --restrict-filenames --ignore-errors -o "./%(uploader_id)s/%(upload_date)s %(uploader)s - %(title)s.%(ext)s" -f 137/136/135/134/133/38/37/22/18/17 
youtube-dl --no-overwrites --restrict-filenames --ignore-errors -o "./%(uploader_id)s/%(upload_date)s %(uploader)s - %(title)s.%(ext)s" -f 141/140/139 

The problem i'm running into is that I have to join the mp4/m4a Dash files to get a complete video, now in most cases this will produce a video only mp4 and a audio m4a.

In some cases this produces a lower quality "normal" mp4 file ( when Dash isn't available ), now i have no easy way to recognize Dash files.

so a simple change would be to change the extension of the Dash video files to mp4v

ps. My original suggestion would be m4v since we already got m4a but it seems Apple uses this format.
Repository: youtube-dl
Issue: Optimize other video selection flags (--date, --datebefore, --dateafter, etc)
Labels: request

Issue #1745 was solved the other day. But to go along with it, it would be nice to optimize these video selections as well:
--match-title
--reject-title
--date
--datebefore
--dateafter
And maybe all the video selection options. ( https://github.com/rg3/youtube-dl#video-selection )

At the moment, if a youtube video from a playlist is outside a date range or has rejected title regex, the video and info pages still load for it anyway, and then afterward skip over the video since it doesn't match the filters. By adding the filter check before the info page loading, the info page loading could be skipped entirely. This is assuming that the data required for these filters is available prior to loading the individual video info pages.
Repository: bitcoin
Issue: Exposed / Compromised (must sweep) / Used / Imported (?) flags on addresses
Labels: Feature,GUI

It was pointed out to me that some people have made the mistake of sending coins to addresses which generated by their wallet prior to encryption simply because they're at the top of their address list and they were engaging in the bad practice of reusing addresses.

In GIT the receive interface does a much better job of discouraging reuse, but users still can— and when they do they receive no guidance about which of their prior addresses were exposed by being left unencrypted.

Might it be reasonable to have a set of flags that can show up in the list signifying addresses which are "exposed" meaning that they date from a prior encryption key?

Likewise, I know of at least one incident where a user randomly picked a key they'd imported from a third party as a key to receive funds and the funds were stolen, a flag indicating that the key was imported would have been helpful.

Along these lines, if we ever get around to having a auto-sweeping feature, might it make sense to have a "this wallet is compromised" button that rekeys, forces a backup, and then marks all existing addresses as compromised which flags them for automatic sweeping?
Repository: youtube-dl
Issue: Doesn't download Aparat user videos
Labels: request

youtube-dl http://www.aparat.com/zoomit
WARNING: Falling back on generic information extractor.
[generic] zoomit: Downloading webpage
[generic] zoomit: Extracting information
[download] Destination: آپارات - ویدیو های زومیت - دنیای فناوری-32b8ab97320012d424786286a12683d2836225.apt
[download] 100% of 2.07MiB in 00:43
Repository: rust
Issue: `-Zunpretty=identified` runs too early
Labels: A-pretty,C-enhancement,T-compiler,requires-nightly

```rs
fn main() { println!("hello world"); }
```

`rustc -Zunpretty=identified`:

```
fn main() { println!("hello world"); } /* block 4294967040 */ /* 4294967040 */
```

Clearly it's useless if the `NodeId`s are all `NodeId::MAX_AS_U32` (`4294967040` aka `-256_i32 as u32`) (I think it may just have to be removed in favour of `-Zunpretty=expanded,identified` since the `NodeId`s are only assigned after macro expansion, and only correspond to elements of that AST, not the pre-expansion one).
Repository: rust
Issue: write!(wr,"foo") is 10% to 72% slower than wr.write("foo".as_bytes())
Labels: I-slow,C-enhancement,T-libs-api,T-compiler,A-fmt

This example demonstrates that the trivial case of `write!(wr, "foo")` is much slower than calling `wr.write("foo".as_bytes())`:

```
extern mod extra;

use std::io::mem::MemWriter;
use extra::test::BenchHarness;

#[bench]
fn bench_write_value(bh: &mut BenchHarness) {
    bh.iter(|| {
        let mut mem = MemWriter::new();
        for _ in range(0, 1000) {
            mem.write("abc".as_bytes());
        }
    });
}

#[bench]
fn bench_write_ref(bh: &mut BenchHarness) {
    bh.iter(|| {
        let mut mem = MemWriter::new();
        let wr = &mut mem as &mut Writer;
        for _ in range(0, 1000) {
            wr.write("abc".as_bytes());
        }
    });
}

#[bench]
fn bench_write_macro1(bh: &mut BenchHarness) {
    bh.iter(|| {
        let mut mem = MemWriter::new();
        let wr = &mut mem as &mut Writer;
        for _ in range(0, 1000) {
            write!(wr, "abc");
        }
    });
}

#[bench]
fn bench_write_macro2(bh: &mut BenchHarness) {
    bh.iter(|| {
        let mut mem = MemWriter::new();
        let wr = &mut mem as &mut Writer;
        for _ in range(0, 1000) {
            write!(wr, "{}", "abc");
        }
    });
}
```

With no optimizations:

```
running 4 tests
test bench_write_macro1 ... bench:    280153 ns/iter (+/- 73615)
test bench_write_macro2 ... bench:    322462 ns/iter (+/- 24886)
test bench_write_ref    ... bench:     79974 ns/iter (+/- 3850)
test bench_write_value  ... bench:     78709 ns/iter (+/- 4003)

test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured
```

With `--opt-level=3`:

```
running 4 tests
test bench_write_macro1 ... bench:     62397 ns/iter (+/- 5485)
test bench_write_macro2 ... bench:     80203 ns/iter (+/- 3355)
test bench_write_ref    ... bench:     55275 ns/iter (+/- 5156)
test bench_write_value  ... bench:     56273 ns/iter (+/- 7591)

test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured
```

Is there anything we can do to improve this? I can think of a couple options, but I bet there are more:
- Special case no-argument `write!` to compile down into `wr.write("foo".as_bytes())`. If we go this route, it'd be nice to also convert a series of str `write!("foo {} {}", "bar", "baz")`.
- Revive `wr.write_str("foo")`. From what I understand, that's being blocked on #6164.
- Figure out why llvm isn't able to optimize away the `write!` overhead. Are there functions that should be getting inlined that are not? My scatter shot attempt didn't get any results.
Repository: youtube-dl
Issue: Skills Matter Support
Labels: site-support-request,account-needed

1) Single:

http://skillsmatter.com/podcast/scala/david-pollak

2) Conference

http://skillsmatter.com/event/scala/scala-exchange-2013
Repository: youtube-dl
Issue: Lanyrd Support
Labels: site-support-request

1) Speaker

http://lanyrd.com/profile/leaverou/

2) Conference 

http://lanyrd.com/2013/lrug-december/
Video - http://lanyrd.com/2013/lrug-december/video/

3) Topic

http://lanyrd.com/speakers/web-development/

NB: Hosing is else where. Youtube, Vimeo, etc.
Repository: youtube-dl
Issue: OCW Sites
Labels: site-support-request

media on - http://ocw.mit.edu/courses/mathematics/18-06sc-linear-algebra-fall-2011/ax-b-and-the-four-subspaces/the-geometry-of-linear-equations/
Course on - http://ocw.mit.edu/courses/mathematics/18-06sc-linear-algebra-fall-2011/

Above example is for MIT. Many other university sites have the same format.
Repository: nvm
Issue: Move most logic out of sourced bash function
Labels: feature requests

I fear putting a lot of functionality into a bash function.  It's a very tricky environment and people like to use nvm in places like zsh that are mostly compatible.

The only thing we _need_ a bash function for is modifying the current $PATH.  Everything else has permanent side effects (like downloading and installing node, copying packages, creating symlinks, etc) and can be done in a subshell where you can choose bash (or node or python) in your shebang line.

For maintainability, I think it would be nice to move all logic out of the main nvm.sh as possible into standalone scripts that are called from the main function.

Comments?
Repository: nvm
Issue: reinstall-packages doesn't work with non-npm modules
Labels: bugs,pull request wanted

I installed a module `jakl/rbwhat`. When copying packages, I got this error:

```
npm http GET https://registry.npmjs.org/rbwhat/1.0.3
npm http 404 https://registry.npmjs.org/rbwhat/1.0.3
npm ERR! 404 'rbwhat' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
```

It looks like the `copy-packages` code might be assuming everything's from npm. This should be smarter and actually check each package.json - for one, if there's no install scripts, the module can just be copied directly to the new location. In addition, it should ideally be able to figure out from where the module was installed.
Repository: youtube-dl
Issue: [espace.mu] podcast 
Labels: site-support-request

Would it be possible to download podcasts from espace.mu?

http://www.espace.mu/console/reecoute/medianet/6980484/kflorence/iciflorence
Repository: youtube-dl
Issue: Add support for iTunes U (was: ERROR: Unsupported URL: https://itunes.apple.com/...)
Labels: site-support-request

```
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://itunes.apple.com/us/itunes-u/uc-davis-symphony-orchestra/id403834767']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.03
[debug] Python version 2.6.6 - Linux-2.6.32-5-xen-686-i686-with-debian-6.0.4
[debug] Proxy map: {}
[generic] id403834767: Requesting header
WARNING: Falling back on generic information extractor.
[generic] id403834767: Downloading webpage
[generic] id403834767: Extracting information
ERROR: Unsupported URL: https://itunes.apple.com/us/itunes-u/uc-davis-symphony-orchestra/id403834767; 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 "/home/vi/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 487, in extract_info
    ie_result = ie.extract(url)
  File "/home/vi/bin/youtube-dl/youtube_dl/extractor/common.py", line 150, in extract
    return self._real_extract(url)
  File "/home/vi/bin/youtube-dl/youtube_dl/extractor/generic.py", line 332, in _real_extract
    raise ExtractorError(u'Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: https://itunes.apple.com/us/itunes-u/uc-davis-symphony-orchestra/id403834767; 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: youtube-dl
Issue: Support catchall for sub language without country
Labels: request

When the `--sub-lang` switch is specified with a value of `en` it doesn't download subs labelled with a country code like `en-US`. See this session log:

```
  $ youtube-dl  -U
  Updating to version 2014.01.17.2...
  Updated youtube-dl. Restart youtube-dl to use the new version.
  $ youtube-dl  --skip-download --write-sub --sub-lang en WR9-GRQfEkU
  [youtube] Setting language
  [youtube] WR9-GRQfEkU: Downloading webpage
  [youtube] WR9-GRQfEkU: Downloading video info webpage
  [youtube] WR9-GRQfEkU: Extracting video information
  WARNING: no closed captions found in the specified language "en"
  [youtube] WR9-GRQfEkU: Encrypted signatures detected.
  $ youtube-dl  --skip-download --list-subs WR9-GRQfEkU
  [youtube] Setting language
  [youtube] WR9-GRQfEkU: Downloading webpage
  [youtube] WR9-GRQfEkU: Downloading video info webpage
  [youtube] WR9-GRQfEkU: Extracting video information
  [youtube] WR9-GRQfEkU: Looking for automatic captions
  [youtube] WR9-GRQfEkU: Downloading XML
  WARNING: Video doesn't have automatic captions
  [youtube] WR9-GRQfEkU: Available subtitles for video: en-US
  [youtube] WR9-GRQfEkU: Available automatic captions for video: 
  $
```

It would be great if failing a perfect match the program downloaded whatever first entry matched partially the user specified value, changing the warning to:

```
WARNING: no closed captions found in the specified language "en", found partial match for "en-US"
```

Or maybe add the partial match behaviour as an additional switch if it breaks behaviour people depend on (aka: specifying a value and failing even if partial matches are found).
Repository: three.js
Issue: CompressedTexture: Support `flipY` in shaders.
Labels: Enhancement

I convert a simple sheep model use convert_obj_three.py to .json ,
load it use THREE.JSONLoader(),
and use THREE.ImageUtils.loadCompressedTexture(texturepath) to add the texture,
but not reach my results,
here is: 
![image](https://f.cloud.github.com/assets/6129694/1949074/30cad3ca-80dd-11e3-94ad-458e0113bb6a.png)
![image](https://f.cloud.github.com/assets/6129694/1949075/3990ce38-80dd-11e3-8fa5-dd62c70867ba.png)

here is the code : https://github.com/pikaya/lei ,

Thank you very much for someone to help me!

here is the result of DDS converted to PNG :
![image](https://f.cloud.github.com/assets/6129694/1951125/e1e79828-816e-11e3-8484-4128a9704870.png)
Repository: youtube-dl
Issue: [ustream] add support for live streams (was: ustream doesn't work)
Labels: request,site-support-request

When trying to download a live video from ustream youtube-dl doesn't get past "Downloading webpage" (it keeps repeating it). Adding a common user-agent didn't help.
Repository: rust
Issue: Should types that contain zero-length vectors of themselves be allowed?
Labels: A-type-system,T-lang,C-bug,A-zst,A-array,T-types

In the discussion of pull request #11839, which aims to check the representability of structs and enums properly in `typeck`, @huonw pointed out that the semantics for types that directly contain zero-length vectors of themselves are potentially still undecided.

Consider for example ([play](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6e390923e5e7c97fcc6c5757953ee64b)):

```rust
struct Foo {
    recur: [Foo; 0],
}

fn main() { }
```

If `typeck` allows `enum Foo { A([Foo; 0]) }` or 
`struct Bar { x: [Bar; 0] }` then there is an infinite recursion + stack overflow in `trans::adt::represent_type`, so I will amend #11839 to disallow these cases and add a FIXME referencing this issue.

To me, it seems more consistent to allow any zero-length vector than to allow only some, but the only use case I can think of is that it may make some macros simpler to write.
Repository: youtube-dl
Issue: Add support for http://www.streamago.tv/
Labels: site-support-request

Thank you very much!
Repository: rust
Issue: Link using the linker directly
Labels: A-linkage,T-compiler,C-feature-request

Right now we link through a C compiler, but Rust should not depend on having a C compiler available nor expose details of cc linking semantics.

I know there have been other issues on this but I can't find them.
Repository: youtube-dl
Issue: How to check when merging of formats gets completed?
Labels: request

When importing `youtube-dl` we have `progress_hook` to get download status, but how to know when format merging has finished?
Repository: youtube-dl
Issue: mtime not being set on audio files in certain cases
Labels: request

### Description

I used 

``` sh
youtube-dl -ci -o "%(title)s - %(id)s.%(ext)s" --extract-audio --audio-format "mp3" --audio-quality 0 --keep-video "some playlist"
```

to download videos from a playlist + extract mp3 audios from those videos.

While it was processing, I noted that one video errored for no particular reason. After everything was downloaded and converted, I decided to rerun the command, since youtube-dl claims to be able to skip already downloaded things. Already downloaded video files, in fact, weren't re-downloaded, but **every single audio file** was re-created. I guess there is nothing one can do, with a video you at least know its size from youtube, so you can easily check if it's already downloaded or not, but you don't know how big an extracted audio file would be, so you don't know if the audio file you have is a complete audio file or not, so to be safe it just re-converts every single audio file. This is a little annoying, try to re-encode 10gb of audio, but I don't think that this is a bug, it looks rather intentional, like a feature.

The actual issue here is that Last-Modified time of re-done audio files is set to **now** instead of the time of corresponding youtube video. That is a bug. youtube-dl sets Last-Modified correctly the first time you run the command, but then forgets to set it when the command is ran again and audio files are re-created.

I'm sorry if that was already reported, there are a lot of issues open here.
## 
### Steps to reproduce
1. Run
   
   ``` sh
   youtube-dl -ci -o "%(title)s - %(id)s.%(ext)s" --extract-audio --audio-format "mp3" --audio-quality 0 --keep-video "http://www.youtube.com/watch?v=qn4jgmmub20"
   ```
2. Repeat 1
## 
### What I see

| File name | Last-Modified (yyyy-mm-dd) |
| --- | --- |
| 【IA】 アウターサイエンス 【オリジナルMV】 - qn4jgmmub20.mp3 | **_2014-02-03 (current date)_** |
| 【IA】 アウターサイエンス 【オリジナルMV】 - qn4jgmmub20.mp4 | 2014-01-07 |
## 
### What I expected to see

| File name | Last-Modified (yyyy-mm-dd) |
| --- | --- |
| 【IA】 アウターサイエンス 【オリジナルMV】 - qn4jgmmub20.mp3 | **_2014-01-07_** |
| 【IA】 アウターサイエンス 【オリジナルMV】 - qn4jgmmub20.mp4 | 2014-01-07 |
Repository: youtube-dl
Issue: is possible to list out all videos in a VAST and VPAID asset
Labels: site-support-request

youtube-dl -g --verbose http://www.longtailvideo.com/support/jw-player/31403/static-vast-xml-tag/ --include-ads

this lists out only one video.
http://content.bitsontherun.com/videos/bkaovAYt-kNspJqnJ.mp4
Is it possible to list out the ads too?

Thanks
Renu
Repository: youtube-dl
Issue: about max file size and formats
Labels: request

Hi guys,

I want to do that.

I add --max-filesize option for download but if best quality file size is bigger than my limit youtube-dl auto change video format best to worst or normal

Is this possible ?

Sorry for my language.
Repository: youtube-dl
Issue: Ability to set a different output format for playlists
Labels: request

Using "-o, --output TEMPLATE" it's possible to set a default output template in the youtube-dl.conf file but this is applied to all downloaded files including videos form playlists. 

Is it possible to add an option "--playlist-output TEMPLATE" to set a output template for playlists only.
Repository: youtube-dl
Issue: Please add --sort-by option
Labels: request

Please add a new option, --sort-by. For example --sort-by views

That way I can get significant high amount of like/dislike ratings

YouTube API "orderby" can be found here: https://developers.google.com/youtube/2.0/developers_guide_protocol?hl=en
Repository: react
Issue: Provide a way to handle browser-autocompleted form values on controlled components
Labels: Type: Bug,Component: DOM

When there's a controlled component for form names that the user has saved in their browser (common with username/password fields), the browser will sometimes render the page with values in those fields without firing onChange events.  If the user submits the form, the component state does not reflect what is showing to the user.

In experimenting with this, it appears that the data is there on load (tested by logging this.refs.myinput.getDOMNode().value)
Repository: youtube-dl
Issue: Show video title in Console Title?
Labels: request

Dear youtube-dl:

In addition to showing the time-remaining, is there a way, or a possibility of adding an additional string to also display the Title of the video being downloaded?
Repository: youtube-dl
Issue: Option to prevent --extract-audio from extracting if such audio file already exists
Labels: request

I want to run youtube-dl with `--extract-audio` and `--keep-video` periodically.
It downloads **only new video**, but extracts audio of **ALL videos**, even if such audio files were already created by previous runs of youtube-dl.
Repository: rust
Issue: Type inference fails to determine closure argument type
Labels: C-enhancement,A-closures,T-compiler,A-inference,T-types

The following fails to compile:

``` rust
pub fn main() {
  let mut xs = HashMap::<(u32, u32), u32>::new();
  let new_el = |&_| 30;  // error: the type of this value must be known in this context

  xs.insert((1,1), 10);
  xs.insert((2,2), 20);
  xs.find_or_insert_with((3,3), new_el);

  println!("{}", xs);
}
```

The argument type must be explicitly spelled out:

``` rust
let new_el = |_: &(u32, u32)| 30;
```

Should the type inference work here?
Repository: rust
Issue: floating point intrinsics may clobber errno in unrelated code
Labels: P-low,T-libs-api,T-compiler,C-bug

These intrinsics assume `errno` is not set, but it may be set. In theory, one of these intrinsics could be reordered between a call to a C function setting `errno` and a check of the `errno` value in Rust. Rust could ignore this problem, as it will rarely (if ever) occur. However, safety mandates that we either supply our own math library known to not set errno on math errors (glibc is a black sheep in this regard) or stop using these unless something like `-fno-math-errno` is passed (as `clang` handles it on Linux).
Repository: rust
Issue: Disallow duplicated extern declarations
Labels: A-FFI,T-compiler,C-feature-request

``` Rust
mod a {
    extern {
        fn func();
    }
}

mod b {
    extern {
        fn func(i: i8); // different signature
    }
}
```

Currently rustc accepts this, but I think it should be disallowed to reduce potential mistakes.