mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Update AdblockID URLs to fix dead links
Co-authored-by: collinbarrett <6483057+collinbarrett@users.noreply.github.com>
This commit is contained in:
parent
9c5c5ab96a
commit
5df353adaf
4 changed files with 88032 additions and 4 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,46 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class UpdateAdblockIdUrls : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 728, 760 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/realodix/AdBlockID/main/dist/adblockid.adfl.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2289, 2434 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/realodix/AdBlockID/main/dist/adblockid_plus.adfl.txt");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 728, 760 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/realodix/AdBlockID/master/output/adblockid.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2289, 2434 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/realodix/AdBlockID-Adult/master/AdBlockID_Adult.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -71169,7 +71169,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 760,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/realodix/AdBlockID/master/output/adblockid.txt"
|
||||
Url = "https://raw.githubusercontent.com/realodix/AdBlockID/main/dist/adblockid.adfl.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -82993,7 +82993,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2434,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/realodix/AdBlockID-Adult/master/AdBlockID_Adult.txt"
|
||||
Url = "https://raw.githubusercontent.com/realodix/AdBlockID/main/dist/adblockid_plus.adfl.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4359,7 +4359,7 @@
|
|||
"filterListId": 728,
|
||||
"id": 760,
|
||||
"primariness": 1,
|
||||
"url": "https://raw.githubusercontent.com/realodix/AdBlockID/master/output/adblockid.txt"
|
||||
"url": "https://raw.githubusercontent.com/realodix/AdBlockID/main/dist/adblockid.adfl.txt"
|
||||
},
|
||||
{
|
||||
"filterListId": 729,
|
||||
|
|
@ -13227,7 +13227,7 @@
|
|||
"filterListId": 2289,
|
||||
"id": 2434,
|
||||
"primariness": 1,
|
||||
"url": "https://raw.githubusercontent.com/realodix/AdBlockID-Adult/master/AdBlockID_Adult.txt"
|
||||
"url": "https://raw.githubusercontent.com/realodix/AdBlockID/main/dist/adblockid_plus.adfl.txt"
|
||||
},
|
||||
{
|
||||
"filterListId": 2290,
|
||||
|
|
|
|||
Loading…
Reference in a new issue