fixed app not parsing youtube shorts

This commit is contained in:
Denis Çerri 2023-01-04 16:32:25 +01:00
parent 5520b17076
commit ad30d363d8
No known key found for this signature in database
GPG key ID: 96B3554AF5B193EE

View file

@ -529,6 +529,11 @@ public class HomeFragment extends Fragment implements HomeRecyclerViewAdapter.On
inputQuery = el[0]; inputQuery = el[0];
} }
if (inputQuery.contains("?feature=share")){
el = inputQuery.split("\\?feature=share");
inputQuery = el[0];
}
try { try {
if (resetResults) resultObjects.clear(); if (resetResults) resultObjects.clear();
Video v = infoUtil.getVideo(inputQuery); Video v = infoUtil.getVideo(inputQuery);