Replace SecureRandom with Random
This commit is contained in:
parent
5492343b8e
commit
25082d78b0
|
@ -55,7 +55,6 @@ import java.io.UnsupportedEncodingException;
|
||||||
import java.net.MalformedURLException;
|
import java.net.MalformedURLException;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
import java.security.SecureRandom;
|
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
import java.time.OffsetDateTime;
|
import java.time.OffsetDateTime;
|
||||||
import java.time.ZoneOffset;
|
import java.time.ZoneOffset;
|
||||||
|
@ -234,7 +233,7 @@ public final class YoutubeParsingHelper {
|
||||||
*/
|
*/
|
||||||
private static final String IOS_DEVICE_MODEL = "iPhone14,5";
|
private static final String IOS_DEVICE_MODEL = "iPhone14,5";
|
||||||
|
|
||||||
private static Random numberGenerator = new SecureRandom();
|
private static Random numberGenerator = new Random();
|
||||||
|
|
||||||
private static final String FEED_BASE_CHANNEL_ID =
|
private static final String FEED_BASE_CHANNEL_ID =
|
||||||
"https://www.youtube.com/feeds/videos.xml?channel_id=";
|
"https://www.youtube.com/feeds/videos.xml?channel_id=";
|
||||||
|
|
Loading…
Reference in New Issue