Repository navigation
Commit 86e222f
committed
fix(ingest): identify enrich scrapes as the TechEngine bot
make_client() sent a full Chrome header set because cpubenchmark.net, notebookcheck and technical.city refuse the bare ingest UA. Every enrich source shares that client, so the weekly refresh was getting past those sites' bot blocking by posing as a browser. Send the TechEngine-Ingest user agent instead; a site that refuses it now fails and the run skips it with a warning, as weekly-refresh already handles per-source failures.
Refs #991 parent 03fef81 commit 86e222f
2 files changed
Lines changed: 9 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 29 | + | |
| 30 | + | |
51 | 31 | | |
52 | 32 | | |
53 | 33 | | |
| |||
204 | 184 | | |
205 | 185 | | |
206 | 186 | | |
207 | | - | |
| 187 | + | |
208 | 188 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
| |||
0 commit comments