File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ go run ./ --outputdir=../
233
233
- مخزن [V2fly Domain List Community](https://github.com/v2fly/domain-list-community) (لایسنس MIT)
234
234
- [لیست شخصی][link-custom]
235
235
- تبلیغات :
236
- - مخزن [PersianBlocker ](https://github.com/MasterKia/PersianBlocker ) (لایسنس AGPL-3.0 )
236
+ - مخزن [uBOPa - uBO Parsi filter list ](https://github.com/nimasaj/uBOPa ) (لایسنس MIT )
237
237
238
238
اگر شما منابع دیگری میشناسید، و یا وبسایتی پیدا کردهاید که اینجا نیست لطفا یک
239
239
[issue][link-issues] باز کنید و یا فایل [custom_domains.py][link-custom] را تغییر داده و [PR][link-pr] ایجاد کنید.
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ go run ./ --outputdir=../
232
232
- [V2fly Domain List Community](https://github.com/v2fly/domain-list-community) (MIT License)
233
233
- [Custom List][link-custom]
234
234
- ADs:
235
- - [PersianBlocker ](https://github.com/MasterKia/PersianBlocker ) (AGPL-3.0 License)
235
+ - [uBOPa - uBO Parsi filter list ](https://github.com/nimasaj/uBOPa ) (MIT License)
236
236
237
237
If you know of any other source, or you found a website that isn't here, please open
238
238
an [issue][link-issues] or add that specific website to [custom_domains.py][link-custom] and make a [PR][link-pr].
Original file line number Diff line number Diff line change 1
1
# https://eservices.ito.gov.ir/page/iplist
2
2
g2b_gov_url = "https://raw.githubusercontent.com/bootmortis/ito-gov-mirror/main/out/domains.csv"
3
- ads_url = "https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianBlockerHosts .txt"
3
+ ads_url = "https://raw.githubusercontent.com/nimasaj/uBOPa/master/uBOPa_Pihole .txt"
4
4
v2fly_base_url = "https://raw.githubusercontent.com/v2fly/domain-list-community/master/data/"
5
5
6
6
# input files
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def ads() -> Iterable[str]:
28
28
29
29
ads = resp .text
30
30
ads = re .sub (r'(?m)^\s*#.*\n?' , '' , ads )
31
- ads = ads .splitlines ()[ 1 :]
31
+ ads = ads .splitlines ()
32
32
ads = (ad .strip () for ad in ads if ad .strip () != '' )
33
33
ads = filter (utils .is_not_ip , ads )
34
34
ads = filter (utils .is_url , ads )
You can’t perform that action at this time.
0 commit comments