Refinements
This commit is contained in:
@@ -59,8 +59,8 @@ namespace FoxTube.Background
|
||||
UserCredential Credential = await GoogleWebAuthorizationBroker.AuthorizeAsync(
|
||||
new ClientSecrets
|
||||
{
|
||||
ClientId = "349735264870-2ekqlm0a4mkg3mmrfcv90s3qp3o15dq0.apps.googleusercontent.com",
|
||||
ClientSecret = "BkVZOAaCU2Zclf0Zlicg6y2_"
|
||||
ClientId = "1096685398208-rsabgv4dfkopr3c7p27p61pkcans012g.apps.googleusercontent.com",
|
||||
ClientSecret = "EtX5VkCwrl7EZsFM2Dt7Jzpd"
|
||||
},
|
||||
new[]
|
||||
{
|
||||
@@ -107,7 +107,7 @@ namespace FoxTube.Background
|
||||
foreach (Subscription item in subscriptions)
|
||||
{
|
||||
SearchResource.ListRequest request = service.Search.List("snippet");
|
||||
request.PublishedAfter = lastCheck;
|
||||
request.PublishedAfter = lastCheck.Subtract(TimeSpan.FromDays(3));
|
||||
request.ChannelId = item.Snippet.ResourceId.ChannelId;
|
||||
request.Type = "video";
|
||||
request.MaxResults = 5;
|
||||
|
||||
Reference in New Issue
Block a user