We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab8cc0f commit 82d47dfCopy full SHA for 82d47df
src/main/java/YouTubeSearchApi/utility/Utils.java
@@ -21,9 +21,6 @@ public class Utils {
21
public static String httpRequest(String url) throws IOException {
22
URLConnection connection = new URL(url).openConnection();
23
24
- connection.setRequestProperty("User-Agent",
25
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11");
26
-
27
connection.connect();
28
29
InputStreamReader inputStreamReader = new InputStreamReader(connection.getInputStream(),
0 commit comments