Author SHA1 Message Date
pi-ux-ce 1041b21e96 Upload files to "/"
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 2m0s
2025-06-11 10:38:57 +00:00
pi-ux-ce 96797141fa uploading this for auto download purpose
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m51s
2025-06-11 08:28:29 +00:00
pi-ux-ce 4ced92e3cc Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m34s
2025-06-10 14:18:53 +00:00
pi-ux-ce 9b8c236ecf Update Program.cs
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Has been cancelled
2025-06-10 14:18:04 +00:00
pi-ux-ce c7bb0fe543 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m33s
2025-06-10 12:54:03 +00:00
pi-ux-ce 2de68761af it is working , moving to version 2.0.0 as it is a big change
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m38s
2025-06-10 12:48:07 +00:00
pi-ux-ce 16806a90b9 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m20s
2025-06-10 12:41:45 +00:00
pi-ux-ce 800faf26ce Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m18s
2025-06-10 12:25:03 +00:00
pi-ux-ce a4623d1e60 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m20s
2025-06-10 12:21:46 +00:00
pi-ux-ce 6b2b6b3996 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m22s
2025-06-10 12:17:24 +00:00
pi-ux-ce 0998bf4b3f Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Has been cancelled
2025-06-10 12:16:12 +00:00
pi-ux-ce 8a39d4a4b2 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Has been cancelled
2025-06-10 12:13:58 +00:00
pi-ux-ce 4edcac18eb Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Has been cancelled
2025-06-10 12:12:46 +00:00
pi-ux-ce 36dc76f500 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m25s
2025-06-10 12:00:44 +00:00
pi-ux-ce 05154527db Update .gitea/workflows/dotnetbuild_runner.yaml 2025-06-10 12:00:19 +00:00
pi-ux-ce 9732737d7d Update .gitea/workflows/dotnetbuild_runner.yaml 2025-06-10 11:59:59 +00:00
pi-ux-ce 37d1057970 Update .gitea/workflows/dotnetbuild_runner.yaml 2025-06-10 11:59:11 +00:00
pi-ux-ce 99407b6117 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m28s
2025-06-10 11:53:15 +00:00
pi-ux-ce f01169b8fc Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m25s
2025-06-10 11:45:29 +00:00
pi-ux-ce 536f0a6029 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m25s
2025-06-10 11:39:32 +00:00
pi-ux-ce a5b19d112c Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Has been cancelled
2025-06-10 11:38:42 +00:00
pi-ux-ce 2366863776 try playing with the version
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m6s
2025-06-10 11:31:56 +00:00
pi-ux-ce 7237086810 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m27s
2025-06-10 10:00:01 +00:00
pi-ux-ce fed8499119 Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m16s
2025-06-10 09:57:16 +00:00
pi-ux-ce 48675b1291 try to zip whole folder
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m37s
2025-06-10 09:46:59 +00:00
pi-ux-ce 451face0f3 Update Simpsons_generator.csproj
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m26s
2025-06-10 07:41:25 +00:00
pi-ux-ce b8ba273e0e download the database if not present
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m27s
2025-06-09 22:54:11 +00:00
pi-ux-ce 80951ff41c 🎨 refactoring
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m33s
2025-06-09 22:42:08 +00:00
pi-ux-ce 45f318d8f2 add package
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m16s
2025-06-09 22:26:37 +00:00
pi-ux-ce 1837e19968 Merge pull request 'pi-ux-ce-patch-1' (#1) from pi-ux-ce-patch-1 into main
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m3s
Reviewed-on: #1
2025-06-09 22:19:32 +00:00
pi-ux-ce d3345fe31d Update Program.cs
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m7s
2025-06-09 22:17:09 +00:00
pi-ux-ce 44508acf2b Upload files to "/"
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m22s
2025-06-09 17:18:30 +00:00
pi-ux-ce a0124a9313 trying to build with windows
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 2m0s
2024-11-04 21:34:11 +00:00
pi-ux-ce 2dcebb96cb remove bin folder to find the right executable
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 3m26s
2024-11-04 21:25:41 +00:00
pi-ux-ce 90f5d27a16 update kisscartoon URL and therefore test the CI
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m41s
2024-11-04 17:57:14 +00:00
pi-ux-ce 4661627957 fix curl: (3) URL using bad/illegal format or missing URL
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m24s
2024-11-04 17:44:56 +00:00
pi-ux-ce 5a07f2f953 update kisscartoon URL and therefore test the CI
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m33s
2024-11-04 17:41:24 +00:00
pi-ux-ce f77b27e9ee trying to get a single package as for now we need the .dll with it
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m25s
2024-11-04 17:35:10 +00:00
pi-ux-ce 4ce9902947 use curl to upload the package
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m55s
2024-11-04 17:29:28 +00:00
pi-ux-ce 7b79c80b35 remove tab
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m45s
2024-11-04 17:27:06 +00:00
pi-ux-ce 9de0146cbb use curl to upload the package 2024-11-04 17:25:09 +00:00
pi-ux-ce 6da9c9c8da use curl to upload the package 2024-11-04 17:21:49 +00:00
45 changed files with 196 additions and 442 deletions
+64 -45
View File
@@ -4,67 +4,86 @@ on: [push]
jobs:
Explore-Gitea-Actions:
env:
DOTNET_INSTALL_DIR: '.\.dotnet'
strategy:
matrix:
dotnet-version: [ '8.0.x' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache dotnet
id: cache-dotnet
uses: actions/cache@v3
with:
path: ${{ env.DOTNET_INSTALL_DIR }}
key: ${{ runner.os }}-dotnet-${{ matrix.dotnet-version }}
restore-keys: ${{ runner.os }}-dotnet-${{ matrix.dotnet-version }}
- name: Compute next version
id: versioning
run: |
latest="${{ vars.VERSION }}"
next_version=$(echo "$latest" | awk -F. -v OFS=. '{$NF += 1 ; print}')
echo "Next version: $next_version"
echo "next_version=$next_version" >> $GITHUB_ENV
- name: Install dotnet
if: ${{ steps.cache-dotnet.outputs.cache-hit != 'true' }}
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
# - name: Setup dotnet
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: ${{ matrix.dotnet-version }}
# cache: true
# cache-dependency-path: packages.lock.json
- name: Install dependencies
run: dotnet restore
- name: Test with dotnet
run: dotnet test --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
- name: Build the package
run: dotnet build
run: dotnet build -p:Version=$next_version
- name: Publish the package
run: dotnet publish
- name: List files in the repository
run: |
ls /workspace/pi-ux-ce/Simpsons_generator/bin/
- name: List files in the repository
run: |
ls /workspace/pi-ux-ce/Simpsons_generator/bin/Debug/
- name: List files in the repository
run: |
ls /workspace/pi-ux-ce/Simpsons_generator/bin/Debug/net8.0/
- name: Commit changes
uses: EndBug/add-and-commit@v9
run: dotnet publish -p:PublishSingleFile=true --self-contained false --runtime win-x64
- name: copy the release before compression
run: cp -r /workspace/pi-ux-ce/Simpsons_generator/bin/Release/net8.0/win-x64/publish/ .
- uses: montudor/action-zip@v1
with:
author_name: Pierre
author_email: pierre@geeraert.eu
message: 'automated push of build'
add: '/workspace/pi-ux-ce/Simpsons_generator/bin/Debug/net8.0/Simpsons_generator.exe'
- name: git push changes
uses: appleboy/git-push-action@v0.0.2
with:
author_email: pierre@geeraert.eu
author_name: Pierre
branch: main
commit: true
commit_message: "[skip ci] Updated changes by gitea bot"
remote: git@gitea.tryton.geeraert.eu:pi-ux-ce/Simpsons_generator.git
ssh_key: ${{ secrets.DEPLOY_KEY }}
args: zip -qq -r Simpsons_generator.zip publish/
#working-directory: path/to/work-dir
- name: List all files
run: |
find /workspace/pi-ux-ce/Simpsons_generator/bin
- name: Delete existing latest version
run: |
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} -X DELETE \
https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/Simpsons_generator/latest/Simpsons_generator.exe
- name: Delete existing latest version
run: |
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} -X DELETE \
https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/Simpsons_generator/latest/Simpsons_generator.zip
- name: upload latest zip version with version number
run: |
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
--upload-file Simpsons_generator.zip \
https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/Simpsons_generator/$next_version/Simpsons_generator.zip
- name: upload latest executable version with version number
run: |
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
--upload-file /workspace/pi-ux-ce/Simpsons_generator/bin/Release/net8.0/win-x64/publish/Simpsons_generator.exe \
"https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/Simpsons_generator/$next_version/Simpsons_generator.exe"
- name: upload latest zip version
run: |
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
--upload-file Simpsons_generator.zip \
https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/Simpsons_generator/latest/Simpsons_generator.zip
- name: upload latest executable version
run: |
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
--upload-file /workspace/pi-ux-ce/Simpsons_generator/bin/Release/net8.0/win-x64/publish/Simpsons_generator.exe \
https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/Simpsons_generator/latest/Simpsons_generator.exe
- name: update version in the variable
run: |
curl -X PUT -H "Content-Type: application/json" \
--user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
https://gitea.tryton.geeraert.eu/api/v1/repos/pi-ux-ce/Simpsons_generator/actions/variables/VERSION \
-d "{\"Value\":\"$next_version\"}"
+122 -100
View File
@@ -1,5 +1,8 @@
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Data.SQLite;
using System.Net;
using System.Runtime.InteropServices;
using static System.Net.Mime.MediaTypeNames;
@@ -7,15 +10,43 @@ namespace Simpsons_generator;
class Program
{
/* public static void openit(string x) {
System.Diagnostics.Process.Start("cmd", "/C start" + " " + x);
}*/
public static readonly string folder_path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Simpsons_generator");
public static readonly string filePath = Path.Combine(folder_path, "episodes-watched.csv");
public static readonly string overrideBrowser = Path.Combine(folder_path, "overrideBrowser.xml");
private static readonly string FolderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Simpsons_generator");
private static readonly string OverrideBrowser = Path.Combine(FolderPath, "overrideBrowser.xml");
public static readonly string filePath = Path.Combine(FolderPath, "episodes-watched.csv");
private static void openit(string url)
static SQLiteConnection CreateConnection()
{
SQLiteConnection sqliteconn;
if (!(File.Exists($"{FolderPath}/database.db")))
{
Console.WriteLine("Creating database.db");
using (var client = new WebClient())
{
client.DownloadFile("https://gitea.tryton.geeraert.eu//pi-ux-ce/Simpsons_generator/raw/branch/main/database.db", $"{FolderPath}/database.db");
}
}
// Create a new database connection:
var sqllitedatasource = $"Data Source={FolderPath}/database.db;Version=3;New=True;Compress=True;";
sqliteconn = new SQLiteConnection(sqllitedatasource);
// Open the connection:
try
{
sqliteconn.Open();
}
catch (Exception ex)
{
}
return sqliteconn;
}
private static void Openit(string url)
{
try
{
@@ -26,12 +57,13 @@ class Program
// hack because of this: https://github.com/dotnet/corefx/issues/10361
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
Console.WriteLine("Using Windows");
url = url.Replace("&", "^&");
if (File.Exists(overrideBrowser))
if (File.Exists(OverrideBrowser))
{
string browser_path = File.ReadAllText(overrideBrowser);
Console.WriteLine("browser: "+browser_path);
Process.Start(new ProcessStartInfo(browser_path, url) { CreateNoWindow = true });
string browserPath = File.ReadAllText(OverrideBrowser);
Console.WriteLine("browser: "+browserPath);
Process.Start(new ProcessStartInfo(browserPath, url) { CreateNoWindow = true });
}
else {
Process.Start(new ProcessStartInfo(url) { UseShellExecute = true });
@@ -40,10 +72,21 @@ class Program
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
Process.Start("xdg-open", url);
Console.WriteLine("Using Linux");
try
{
Process.Start("xdg-open", url);
}
catch (Exception e)
{
Console.WriteLine(e);
throw;
}
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
Console.WriteLine("Using Mac");
Process.Start("open", url);
}
else
@@ -58,118 +101,98 @@ class Program
}
private static bool CheckEpisodeAlreadyRun(string url)
static object RunSqlQuery(SQLiteConnection conn, string query)
{
if (File.Exists(filePath))
SQLiteDataReader sqliteDatareader;
SQLiteCommand sqliteCmd;
sqliteCmd = conn.CreateCommand();
sqliteCmd.CommandText = query;
sqliteDatareader = sqliteCmd.ExecuteReader();
if (sqliteDatareader.Read())
{
var linesRead = File.ReadLines(filePath);
// iterate through each element within the array and
// print it out
//
foreach (var lineRead in linesRead)
{
if (lineRead == url)
{
Console.WriteLine("already watched");
return true;
}
}
return sqliteDatareader["result"];
}
return false;
}
private static void saveIntoFile(string data_input)
{
//first check if folder and file exist
if (!Directory.Exists(folder_path))
Directory.CreateDirectory(folder_path);
using (StreamWriter w = new StreamWriter(filePath, true))
else
{
w.WriteLine(data_input);
return false;
}
}
private static void SaveIntoDatabase(SQLiteConnection conn,int season, int episode)
{
SQLiteCommand sqliteCmd;
sqliteCmd = conn.CreateCommand();
string updateQuery = $"update episodes set seen=1 WHERE season = {season} and episode = {episode}";
sqliteCmd.CommandText = updateQuery;
sqliteCmd.ExecuteNonQuery();
}
static void Main(string[] args)
{
string url_generated;
string urlGenerated;
int randomSeason;
int randomEpisode;
SQLiteConnection sqliteconn;
sqliteconn = CreateConnection();
//check if the old excel exist and convert it to SQLLITE
if (File.Exists(filePath))
{
Console.WriteLine("Excel file present");
var linesRead = File.ReadLines(filePath);
foreach (var lineRead in linesRead)
{
Console.WriteLine(lineRead);
string[] words = lineRead.Split('-');
int season = Convert.ToInt16(words[3]);
int episode = Convert.ToInt16(words[5]);
SaveIntoDatabase(sqliteconn,season,episode);
Console.WriteLine(season);
Console.WriteLine(episode);
}
System.IO.File.Move(filePath,filePath+"_converted.csv");
}
bool restart = false;
do
{
restart = false;
//get maximum number of seasons
string maximumNumberOfSeasonsQuery = "SELECT COUNT(DISTINCT season) as result FROM episodes;";
int maximumNumberSeasons = Convert.ToInt32(RunSqlQuery(sqliteconn, maximumNumberOfSeasonsQuery));
int maximum_number_seasons = 35;
string root_url = "https://www1.kisscartoon.online/episode/the-simpsons-season-";
//random for the season
Random rnd = new Random();
int random_season = rnd.Next(1, maximum_number_seasons);
randomSeason = rnd.Next(1, maximumNumberSeasons);
Console.WriteLine("random season:"+random_season);
Console.WriteLine("random season: "+randomSeason);
//get maximum number of episodes for this season
string maximumNumberOfEpisodesQuery = $"SELECT COUNT() as result FROM episodes WHERE season = {randomSeason};";
int maximumNumberOfEpisodes = Convert.ToInt32(RunSqlQuery(sqliteconn, maximumNumberOfEpisodesQuery));
//dictionary for the maximum number of episodes
Dictionary<int, int> Season_nbr_Episodes = new Dictionary<int, int>();
Season_nbr_Episodes.Add(1,13);
Season_nbr_Episodes.Add(2,22);
Season_nbr_Episodes.Add(3,24);
Season_nbr_Episodes.Add(4,22);
Season_nbr_Episodes.Add(5,22);
Season_nbr_Episodes.Add(6,25);
Season_nbr_Episodes.Add(7,25);
Season_nbr_Episodes.Add(8,25);
Season_nbr_Episodes.Add(9,25);
Season_nbr_Episodes.Add(10,23);
Season_nbr_Episodes.Add(11,22);
Season_nbr_Episodes.Add(12,21);
Season_nbr_Episodes.Add(13,22);
Season_nbr_Episodes.Add(14,22);
Season_nbr_Episodes.Add(15,22);
Season_nbr_Episodes.Add(16,21);
Season_nbr_Episodes.Add(17,22);
Season_nbr_Episodes.Add(18,22);
Season_nbr_Episodes.Add(19,20);
Season_nbr_Episodes.Add(20,21);
Season_nbr_Episodes.Add(21,23);
Season_nbr_Episodes.Add(22,22);
Season_nbr_Episodes.Add(23,22);
Season_nbr_Episodes.Add(24,22);
Season_nbr_Episodes.Add(25,22);
Season_nbr_Episodes.Add(26,22);
Season_nbr_Episodes.Add(27,22);
Season_nbr_Episodes.Add(28,22);
Season_nbr_Episodes.Add(29,21);
Season_nbr_Episodes.Add(30,23);
Season_nbr_Episodes.Add(31,22);
Season_nbr_Episodes.Add(32,22);
Season_nbr_Episodes.Add(33,22);
Season_nbr_Episodes.Add(34,22);
Season_nbr_Episodes.Add(35,18);
int random_episode = rnd.Next(1,Season_nbr_Episodes[random_season]);
Console.WriteLine("random episode:"+random_episode);
randomEpisode = rnd.Next(1, maximumNumberOfEpisodes);
Console.WriteLine("random episode: "+randomEpisode);
//url generated
url_generated = root_url + random_season + "-episode-"+random_episode;
string urlGeneratedQuery = $"SELECT url as result FROM episodes WHERE season = {randomSeason} and episode = {randomEpisode};";
urlGenerated = Convert.ToString(RunSqlQuery(sqliteconn, urlGeneratedQuery));
Console.WriteLine(url_generated);
if (CheckEpisodeAlreadyRun(url_generated))
//CheckEpisodeAlreadyRun
string checkEpisodeAlreadyRunQuery = $"SELECT seen as result FROM episodes WHERE season = {randomSeason} and episode = {randomEpisode};";
bool checkEpisodeAlreadyRun = Convert.ToBoolean(RunSqlQuery(sqliteconn, checkEpisodeAlreadyRunQuery));
if (checkEpisodeAlreadyRun)
{
//return;
restart = true;
@@ -180,11 +203,10 @@ class Program
} while (restart);
openit(url_generated);
saveIntoFile(url_generated);
Console.WriteLine("urlGenerated "+urlGenerated);
Openit(urlGenerated);
SaveIntoDatabase(sqliteconn,randomSeason,randomEpisode);
}
}
Binary file not shown.
+2
View File
@@ -8,10 +8,12 @@
<Nullable>enable</Nullable>
<ApplicationIcon>Simpson.ico</ApplicationIcon>
<PublishSingleFile>true</PublishSingleFile>
<PackAsTool>true</PackAsTool>
</PropertyGroup>
<ItemGroup>
<Content Include="Simpson.ico" />
<PackageReference Include="System.Data.SQLite" Version="1.0.119" />
</ItemGroup>
</Project>
+1 -1
View File
@@ -1,6 +1,6 @@
import random
simpsons_url = "https://www1.kisscartoon.online/episode/the-simpsons-season-";
simpsons_url = "https://kisscartoon.top/episode/the-simpsons-season-";
number_of_seasons = 35
seasons_maximum_number = [13,22,24,22,22,25,25,25,25,23,22,21,22,22,22,21,22,22,20,21,23,22,22,22,22,22,22,22,21,23,22,22,22,22,18]
Binary file not shown.
Binary file not shown.
@@ -1,34 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"Simpsons_generator/1.0.0": {
"dependencies": {
"Microsoft.NET.ILLink.Tasks": "8.0.8"
},
"runtime": {
"Simpsons_generator.dll": {}
}
},
"Microsoft.NET.ILLink.Tasks/8.0.8": {}
}
},
"libraries": {
"Simpsons_generator/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NET.ILLink.Tasks/8.0.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-P8wR6MUWwYXIjPJuBaZgo5zlI/GWI6QEAo6NyVIbPefa9CCkohYu7dP2rD/mrqnjEqfRHyl+h9VZrDoGpELqYg==",
"path": "microsoft.net.illink.tasks/8.0.8",
"hashPath": "microsoft.net.illink.tasks.8.0.8.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,12 +0,0 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
@@ -1,34 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"Simpsons_generator/1.0.0": {
"dependencies": {
"Microsoft.NET.ILLink.Tasks": "8.0.8"
},
"runtime": {
"Simpsons_generator.dll": {}
}
},
"Microsoft.NET.ILLink.Tasks/8.0.8": {}
}
},
"libraries": {
"Simpsons_generator/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NET.ILLink.Tasks/8.0.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-P8wR6MUWwYXIjPJuBaZgo5zlI/GWI6QEAo6NyVIbPefa9CCkohYu7dP2rD/mrqnjEqfRHyl+h9VZrDoGpELqYg==",
"path": "microsoft.net.illink.tasks/8.0.8",
"hashPath": "microsoft.net.illink.tasks.8.0.8.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,13 +0,0 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
@@ -1,24 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0/android-arm64",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {},
".NETCoreApp,Version=v8.0/android-arm64": {
"Simpsons_generator/1.0.0": {
"runtime": {
"Simpsons_generator.dll": {}
}
}
}
},
"libraries": {
"Simpsons_generator/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
@@ -1,13 +0,0 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
@@ -1,24 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0/android-arm64",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {},
".NETCoreApp,Version=v8.0/android-arm64": {
"Simpsons_generator/1.0.0": {
"runtime": {
"Simpsons_generator.dll": {}
}
}
}
},
"libraries": {
"Simpsons_generator/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
@@ -1,13 +0,0 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
Binary file not shown.
@@ -1,24 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0/linux-x64",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {},
".NETCoreApp,Version=v8.0/linux-x64": {
"Simpsons_generator/1.0.0": {
"runtime": {
"Simpsons_generator.dll": {}
}
}
}
},
"libraries": {
"Simpsons_generator/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file not shown.
Binary file not shown.
@@ -1,13 +0,0 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
@@ -1,24 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0/linux-x64",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {},
".NETCoreApp,Version=v8.0/linux-x64": {
"Simpsons_generator/1.0.0": {
"runtime": {
"Simpsons_generator.dll": {}
}
}
}
},
"libraries": {
"Simpsons_generator/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
@@ -1,13 +0,0 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
@@ -1,35 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0/win-x64",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {},
".NETCoreApp,Version=v8.0/win-x64": {
"Simpsons_generator/1.0.0": {
"dependencies": {
"Microsoft.NET.ILLink.Tasks": "8.0.8"
},
"runtime": {
"Simpsons_generator.dll": {}
}
},
"Microsoft.NET.ILLink.Tasks/8.0.8": {}
}
},
"libraries": {
"Simpsons_generator/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NET.ILLink.Tasks/8.0.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-P8wR6MUWwYXIjPJuBaZgo5zlI/GWI6QEAo6NyVIbPefa9CCkohYu7dP2rD/mrqnjEqfRHyl+h9VZrDoGpELqYg==",
"path": "microsoft.net.illink.tasks/8.0.8",
"hashPath": "microsoft.net.illink.tasks.8.0.8.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,13 +0,0 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
BIN
View File
Binary file not shown.