add: 16 new URLs

This commit is contained in:
ethanaicode 2025-07-10 15:43:06 +08:00
parent fb29fe294c
commit 7a27104b28
4 changed files with 56 additions and 1 deletions

View file

@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
## 2025-07-04
- Added 16 new URLs
## 2025-01-03
- Added more URLs

View file

@ -71,3 +71,35 @@ This project is intended for educational and informational purposes only. Use it
## Contributing
Feel free to submit a pull request or open an issue if you have any suggestions or improvements.
### How to Merge New Host Entries
To contribute new host entries efficiently, please use the provided `merge.sh` script to merge and deduplicate entries before submitting a pull request.
#### Steps:
1. Create a new file named `hosts.new.temp` and add **only the new host entries** you wish to contribute.
2. Run the following command in your terminal:
```bash
./merge.sh
```
3. This script will:
- Copy the current `hosts` file to a new file `hosts.new`
- Compare your new entries (`hosts.new.temp`) against the existing `hosts` file
- Append only the **non-duplicate** lines into `hosts.new`
4. After running the script, review the `hosts.new` file to ensure correctness.
5. If everything looks good, replace the `hosts` file with the merged `hosts.new`:
```bash
mv hosts.new hosts
```
6. Commit your changes and submit a pull request.
> 💡 This script helps maintain a clean and deduplicated hosts list while speeding up the merge process.

19
hosts
View file

@ -943,6 +943,25 @@
0.0.0.0 5amul9liob.adobestats.io
0.0.0.0 ecsdxf3wl3.adobestats.io
# Add: @2025-07-10
0.0.0.0 v62vpzg2av.adobestats.io
0.0.0.0 a1815.dscr.akamai.net
0.0.0.0 ims-na1.adobelogin.com.cdn.cloudflare.net
0.0.0.0 o1383653.ingest.sentry.io
0.0.0.0 wtl71c0ylo.adobestats.io
0.0.0.0 3d5vic7so2.adobestats.io
0.0.0.0 o987771.ingest.us.sentry.io
0.0.0.0 rekkvg49.mw1i8.adobestats.io
0.0.0.0 y1sg2131f84.mw1i8.adobestats.io
0.0.0.0 o987771.ingest.us.sentry.io
0.0.0.0 a1815.dscr.akamai.net
0.0.0.0 3d5vic7so2.adobestats.io
0.0.0.0 ims-na1.adobelogin.com.cdn.cloudflare.net
0.0.0.0 o1383653.ingest.sentry.io
0.0.0.0 wtl71c0ylo.adobestats.io
0.0.0.0 jgletrkp.mw1i8.adobestats.io
# Adobe End
####

View file

@ -1,11 +1,11 @@
#!/bin/bash
# merge.sh - Merge new host entries from hosts.new.temp into hosts.new (removing duplicates)
TEMP_HOSTS="hosts.new.temp"
HOSTS="hosts"
NEW_HOSTS="hosts.new"
cp "$HOSTS" "$NEW_HOSTS"
grep -vxFf "$HOSTS" "$TEMP_HOSTS" >> "$NEW_HOSTS"
echo "Merged $TEMP_HOSTS into $NEW_HOSTS"