Archived
1
0

Refinements

This commit is contained in:
Michael Gordeev
2020-07-06 15:07:23 +03:00
parent fee80ef07f
commit 6a8896d804
66 changed files with 234 additions and 119 deletions
+3 -3
View File
@@ -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;