Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
bit Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nhCoder committed Jan 8, 2020
1 parent 5bb0f4b commit 5acf095
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ public YoutubeStreamExtractor(ExtractorListner EL) {
Headers.put("Accept-Language", "en");
}

public void setHeaders(Map<String, String> headers) {
public YoutubeStreamExtractor setHeaders(Map<String, String> headers) {
Headers = headers;
return this;
}

public YoutubeStreamExtractor useDefaultLogin() {
Headers.put("Cookie", Utils.loginCookie);
setHeaders(Headers);
return this;
return setHeaders(Headers);
}

public Map<String, String> getHeaders() {
Expand Down

0 comments on commit 5acf095

Please sign in to comment.