mirror of
https://github.com/iptv-org/database.git
synced 2025-05-09 19:20:01 -04:00
Merge pull request #16282 from iptv-org/patch-2025.02.1
Patch 2025.02.1
This commit is contained in:
commit
a951edc61d
12 changed files with 1163 additions and 1143 deletions
11
.github/ISSUE_TEMPLATE/_blocklist_add.yml
vendored
11
.github/ISSUE_TEMPLATE/_blocklist_add.yml
vendored
|
@ -13,6 +13,17 @@ body:
|
|||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: reason
|
||||
attributes:
|
||||
label: Reason
|
||||
description: Reason for blocking the channel
|
||||
options:
|
||||
- 'DMCA'
|
||||
- 'NSFW'
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: ref
|
||||
attributes:
|
||||
|
|
|
@ -107,6 +107,7 @@ List of channels blocked at the request of copyright holders.
|
|||
| Field | Description | Required | Example |
|
||||
| ------- | ----------------------------------------------- | -------- | --------------------------------- |
|
||||
| channel | Channel ID | Required | `AnimalPlanetAfrica.us` |
|
||||
| reason | Reason for blocking | Required | `dmca` |
|
||||
| ref | Link to removal request or DMCA takedown notice | Required | `https://example.com/issues/0000` |
|
||||
|
||||
## Channel Logo Guidelines
|
||||
|
|
2256
data/blocklist.csv
2256
data/blocklist.csv
File diff suppressed because it is too large
Load diff
|
@ -185,12 +185,14 @@ async function blockChannels({ loader }: { loader: IssueLoader }) {
|
|||
if (found) return
|
||||
|
||||
const channel = data.getString('channel_id')
|
||||
const reason = data.getString('reason')?.toLowerCase()
|
||||
const ref = data.getString('ref')
|
||||
if (!channel || !ref) return
|
||||
if (!channel || !reason || !ref) return
|
||||
|
||||
blocklist.push(
|
||||
new Blocked({
|
||||
channel,
|
||||
reason,
|
||||
ref
|
||||
})
|
||||
)
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
type BlockedProps = {
|
||||
channel: string
|
||||
reason: string
|
||||
ref: string
|
||||
}
|
||||
|
||||
export class Blocked {
|
||||
channel: string
|
||||
reason: string
|
||||
ref: string
|
||||
|
||||
constructor({ ref, channel }: BlockedProps) {
|
||||
constructor({ ref, reason, channel }: BlockedProps) {
|
||||
this.channel = channel
|
||||
this.reason = reason
|
||||
this.ref = ref
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,5 +4,8 @@ export default {
|
|||
channel: Joi.string()
|
||||
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
|
||||
.required(),
|
||||
reason: Joi.string()
|
||||
.valid(...['dmca', 'nsfw'])
|
||||
.required(),
|
||||
ref: Joi.string().uri().required()
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
[{"channel":"AnimalPlanetAfrica.za","ref":"https://github.com/iptv-org/iptv/issues/1831"},{"channel":"BeijingSatelliteTV.cn","ref":"https://github.com/iptv-org/iptv/issues/1831"}]
|
||||
[{"channel":"AnimalPlanetAfrica.za","reason":"dmca","ref":"https://github.com/iptv-org/iptv/issues/1831"},{"channel":"BeijingSatelliteTV.cn","reason":"dmca","ref":"https://github.com/iptv-org/iptv/issues/1831"}]
|
|
@ -1,3 +1,3 @@
|
|||
channel,ref
|
||||
beINMoviesTurk.tr,https://github.com/iptv-org/iptv/issues/1831
|
||||
HGTVHungary.hu,https://github.com/iptv-org/iptv/issues/1831
|
||||
channel,reason,ref
|
||||
beINMoviesTurk.tr,dmca,https://github.com/iptv-org/iptv/issues/1831
|
||||
HGTVHungary.hu,nsfw,https://github.com/iptv-org/iptv/issues/1831
|
|
|
@ -1,3 +1,3 @@
|
|||
channel,ref
|
||||
AnimalPlanetAfrica.za,https://github.com/iptv-org/iptv/issues/1831
|
||||
BeijingSatelliteTV.cn,https://github.com/iptv-org/iptv/issues/1831
|
||||
channel,reason,ref
|
||||
AnimalPlanetAfrica.za,dmca,https://github.com/iptv-org/iptv/issues/1831
|
||||
BeijingSatelliteTV.cn,dmca,https://github.com/iptv-org/iptv/issues/1831
|
|
|
@ -61,7 +61,7 @@ module.exports = [
|
|||
closed_at: null,
|
||||
author_association: 'CONTRIBUTOR',
|
||||
active_lock_reason: null,
|
||||
body: '### Channel ID\n\nHGTVHungary.hu\n\n### Reference\n\nhttps://github.com/iptv-org/iptv/issues/1831\n\n### Notes (optional)\n\n_No response_',
|
||||
body: '### Channel ID\n\nHGTVHungary.hu\n\n### Reason\n\nNSFW\n\n### Reference\n\nhttps://github.com/iptv-org/iptv/issues/1831\n\n### Notes (optional)\n\n_No response_',
|
||||
reactions: {
|
||||
url: 'https://api.github.com/repos/iptv-org/database/issues/5897/reactions',
|
||||
total_count: 0,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
channel,ref
|
||||
002RadioTV.do,eee
|
||||
002RadioTV.do,eee
|
||||
channel,reason,ref
|
||||
002RadioTV.do,dmca,eee
|
||||
002RadioTV.do,dmca,eee
|
|
|
@ -1,2 +1,2 @@
|
|||
channel,ref
|
||||
aaa.us,https://github.com/iptv-org/iptv/issues/1831
|
||||
channel,reason,ref
|
||||
aaa.us,dmca,https://github.com/iptv-org/iptv/issues/1831
|
|
Loading…
Add table
Add a link
Reference in a new issue