Remove unused imports

This commit is contained in:
whimsical-c4lic0 2026-02-06 01:31:43 -06:00
parent 7f1cd03f2f
commit 86ee476dc5
45 changed files with 13 additions and 215 deletions

View File

@ -1,7 +1,4 @@
using System; using System.Security.Cryptography;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
namespace WidevineClient.Crypto namespace WidevineClient.Crypto
{ {

View File

@ -1,10 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using OF_DL.Utils; using OF_DL.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Archived namespace OF_DL.Entities.Archived
{ {

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Archived namespace OF_DL.Entities.Archived
{ {
public class ArchivedCollection public class ArchivedCollection

View File

@ -1,8 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace OF_DL.Entities namespace OF_DL.Entities

View File

@ -1,9 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities namespace OF_DL.Entities
{ {

View File

@ -1,9 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Highlights namespace OF_DL.Entities.Highlights
{ {

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Highlights namespace OF_DL.Entities.Highlights
{ {
public class Highlights public class Highlights

View File

@ -1,10 +1,4 @@
using System; namespace OF_DL.Entities.Lists
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Lists
{ {
public class UserList public class UserList
{ {

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Lists namespace OF_DL.Entities.Lists
{ {
public class UsersList public class UsersList

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Messages namespace OF_DL.Entities.Messages
{ {
public class MessageCollection public class MessageCollection

View File

@ -1,9 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Messages namespace OF_DL.Entities.Messages
{ {

View File

@ -1,4 +1,3 @@
using Newtonsoft.Json;
using static OF_DL.Entities.Messages.Messages; using static OF_DL.Entities.Messages.Messages;
namespace OF_DL.Entities.Messages namespace OF_DL.Entities.Messages

View File

@ -1,9 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities namespace OF_DL.Entities
{ {

View File

@ -1,11 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using OF_DL.Utils; using OF_DL.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static OF_DL.Entities.Messages.Messages;
namespace OF_DL.Entities.Post; namespace OF_DL.Entities.Post;

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Post namespace OF_DL.Entities.Post
{ {
public class PostCollection public class PostCollection

View File

@ -1,11 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using OF_DL.Utils; using OF_DL.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static OF_DL.Entities.Post.Post;
namespace OF_DL.Entities.Post namespace OF_DL.Entities.Post
{ {

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Post namespace OF_DL.Entities.Post
{ {
public class SinglePostCollection public class SinglePostCollection

View File

@ -1,8 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static OF_DL.Entities.Messages.Messages; using static OF_DL.Entities.Messages.Messages;
namespace OF_DL.Entities.Purchased namespace OF_DL.Entities.Purchased

View File

@ -1,9 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static OF_DL.Entities.Messages.Messages; using static OF_DL.Entities.Messages.Messages;
namespace OF_DL.Entities.Purchased namespace OF_DL.Entities.Purchased

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Purchased namespace OF_DL.Entities.Purchased
{ {
public class PurchasedTabCollection public class PurchasedTabCollection

View File

@ -1,10 +1,4 @@
using OF_DL.Entities.Messages; using OF_DL.Entities.Messages;
using OF_DL.Entities.Post;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static OF_DL.Entities.Messages.Messages; using static OF_DL.Entities.Messages.Messages;
namespace OF_DL.Entities.Purchased namespace OF_DL.Entities.Purchased

View File

@ -1,5 +1,4 @@
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace OF_DL.Entities namespace OF_DL.Entities
{ {

View File

@ -1,9 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Stories namespace OF_DL.Entities.Stories
{ {

View File

@ -1,10 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using OF_DL.Utils; using OF_DL.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Streams namespace OF_DL.Entities.Streams
{ {

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities.Streams namespace OF_DL.Entities.Streams
{ {
public class StreamsCollection public class StreamsCollection

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities namespace OF_DL.Entities
{ {
public class Subscriptions public class Subscriptions

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Entities namespace OF_DL.Entities
{ {
public class User public class User

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Enumerations; namespace OF_DL.Enumerations;
public enum CustomFileNameOption public enum CustomFileNameOption

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Enumerations namespace OF_DL.Enumerations
{ {
public enum DownloadDateSelection public enum DownloadDateSelection

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Enumerations namespace OF_DL.Enumerations
{ {
public enum LoggingLevel public enum LoggingLevel

View File

@ -1,10 +1,4 @@
using System; namespace OF_DL.Enumerations
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Enumurations
{ {
public enum MediaType public enum MediaType
{ {

View File

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Enumerations namespace OF_DL.Enumerations
{ {
public enum VideoResolution public enum VideoResolution

View File

@ -7,7 +7,6 @@ using OF_DL.Entities.Post;
using OF_DL.Entities.Purchased; using OF_DL.Entities.Purchased;
using OF_DL.Entities.Streams; using OF_DL.Entities.Streams;
using OF_DL.Enumerations; using OF_DL.Enumerations;
using OF_DL.Enumurations;
using OF_DL.CLI; using OF_DL.CLI;
using OF_DL.Helpers; using OF_DL.Helpers;
using OF_DL.Services; using OF_DL.Services;
@ -18,6 +17,7 @@ using System.Runtime.InteropServices;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using static OF_DL.Entities.Messages.Messages; using static OF_DL.Entities.Messages.Messages;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Constants = OF_DL.Widevine.Constants;
namespace OF_DL; namespace OF_DL;

View File

@ -10,7 +10,6 @@ using OF_DL.Entities.Purchased;
using OF_DL.Entities.Stories; using OF_DL.Entities.Stories;
using OF_DL.Entities.Streams; using OF_DL.Entities.Streams;
using OF_DL.Enumerations; using OF_DL.Enumerations;
using OF_DL.Enumurations;
using Serilog; using Serilog;
using Spectre.Console; using Spectre.Console;
using System.Globalization; using System.Globalization;
@ -19,8 +18,7 @@ using System.Text;
using System.Text.Json; using System.Text.Json;
using System.Xml.Linq; using System.Xml.Linq;
using OF_DL.Widevine; using OF_DL.Widevine;
using WidevineClient.Widevine; using static OF_DL.Utils.HttpUtil;
using static WidevineClient.HttpUtil;
using Constants = OF_DL.Helpers.Constants; using Constants = OF_DL.Helpers.Constants;
namespace OF_DL.Services; namespace OF_DL.Services;

View File

@ -10,7 +10,6 @@ using OF_DL.Entities.Post;
using OF_DL.Entities.Purchased; using OF_DL.Entities.Purchased;
using OF_DL.Entities.Streams; using OF_DL.Entities.Streams;
using OF_DL.Enumerations; using OF_DL.Enumerations;
using OF_DL.Enumurations;
using OF_DL.Utils; using OF_DL.Utils;
using Serilog; using Serilog;
using Serilog.Events; using Serilog.Events;

View File

@ -5,7 +5,7 @@ using OF_DL.Entities.Messages;
using OF_DL.Entities.Post; using OF_DL.Entities.Post;
using OF_DL.Entities.Purchased; using OF_DL.Entities.Purchased;
using OF_DL.Entities.Streams; using OF_DL.Entities.Streams;
using OF_DL.Enumurations; using OF_DL.Enumerations;
using Spectre.Console; using Spectre.Console;
namespace OF_DL.Services namespace OF_DL.Services

View File

@ -1,7 +1,4 @@
using OF_DL.Helpers; using OF_DL.Helpers;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text; using System.Text;
namespace WidevineClient namespace WidevineClient

View File

@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Concurrency; using System.Reactive.Concurrency;
using System.Text;
using System.Threading.Tasks;
namespace OF_DL.Utils; namespace OF_DL.Utils;

View File

@ -1,8 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq; using System.Xml.Linq;
namespace OF_DL.Utils namespace OF_DL.Utils

View File

@ -1,11 +1,7 @@
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection; using System.Reflection;
using System.Security.Cryptography; using System.Security.Cryptography;
using System.Text; using System.Text;
using ProtoBuf;
using WidevineClient.Crypto; using WidevineClient.Crypto;
namespace WidevineClient.Widevine namespace WidevineClient.Widevine

View File

@ -1,14 +1,11 @@
using Org.BouncyCastle.Crypto; using System.Text;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Digests;
using Org.BouncyCastle.Crypto.Encodings; using Org.BouncyCastle.Crypto.Encodings;
using Org.BouncyCastle.Crypto.Engines; using Org.BouncyCastle.Crypto.Engines;
using Org.BouncyCastle.Crypto.Signers; using Org.BouncyCastle.Crypto.Signers;
using Org.BouncyCastle.OpenSsl; using Org.BouncyCastle.OpenSsl;
using ProtoBuf; using ProtoBuf;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace WidevineClient.Widevine namespace WidevineClient.Widevine
{ {

View File

@ -1,7 +1,4 @@
using System; using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
namespace WidevineClient.Widevine namespace WidevineClient.Widevine

View File

@ -1,8 +1,4 @@
using System; namespace OF_DL.Widevine
using System.Collections.Generic;
using System.Linq;
namespace WidevineClient.Widevine
{ {
class PSSHBox class PSSHBox
{ {

View File

@ -1,6 +1,4 @@
using System.Collections.Generic; namespace OF_DL.Widevine
namespace WidevineClient.Widevine
{ {
class Session class Session
{ {