Пример #1
0
 public static string[] GetThumbnailUrls(int galleryId)
 => getImageNumbs(galleryId)
 .Select(n => RequestHelper.CreateUrl(DownloadOptions.ThumbnailSubdomain, $"/smalltn/{galleryId}/{n}.jpg")).ToArray();
Пример #2
0
 public string getStreamingVideoUrl()
 => RequestHelper.CreateUrl(DownloadOptions.VideoStreamingSubdomain, $"/videos/{this.videoFilename}");
Пример #3
0
 public static string[] GetImageUrls(int galleryId)
 => getImageNumbs(galleryId)
 .Select(n => RequestHelper.CreateUrl(RequestHelper.GalleryIdToImageSubdoamin(galleryId), $"/galleries/{galleryId}/{n}")).ToArray();
Пример #4
0
 public string getDownloadableVideoUrl()
 => RequestHelper.CreateUrl("a", $"/videos/{this.videoFilename}");