54
54
"infoHash" : "<redacted>" ,
55
55
"isBest" : True ,
56
56
"releaseGroup" : "LYS1TH3A" ,
57
- "tracker" : "AnimeBytes " ,
57
+ "tracker" : "PT " ,
58
58
"updated" : "2024-01-30 19:28:09.461Z" ,
59
- "url" : "https://animebytes.tv /torrents.php?id=20684&torrentid=1053072" ,
59
+ "url" : "/torrents.php?id=20684&torrentid=1053072" ,
60
60
},
61
61
]
62
62
},
@@ -93,11 +93,11 @@ def test_from_anilist_id(seadex_entry: SeaDexEntry, httpx_mock: HTTPXMock) -> No
93
93
)
94
94
assert entry .theoretical_best is None
95
95
assert entry .torrents [0 ].url == "https://nyaa.si/view/1693872"
96
- assert entry .torrents [1 ].url == "https://animebytes.tv /torrents.php?id=20684&torrentid=1053072"
96
+ assert entry .torrents [1 ].url == "/torrents.php?id=20684&torrentid=1053072"
97
97
assert entry .torrents [0 ].infohash is not None
98
98
assert entry .torrents [1 ].infohash is None
99
99
assert entry .torrents [0 ].tracker == Tracker .NYAA
100
- assert entry .torrents [1 ].tracker == Tracker .ANIMEBYTES
100
+ assert entry .torrents [1 ].tracker == Tracker .PRIVATE_TRACKER
101
101
assert entry .torrents [0 ].infohash is not None
102
102
assert entry .torrents [1 ].infohash is None
103
103
assert isinstance (entry .updated_at , datetime )
@@ -121,11 +121,11 @@ def test_from_seadex_id(seadex_entry: SeaDexEntry, httpx_mock: HTTPXMock) -> Non
121
121
)
122
122
assert entry .theoretical_best is None
123
123
assert entry .torrents [0 ].url == "https://nyaa.si/view/1693872"
124
- assert entry .torrents [1 ].url == "https://animebytes.tv /torrents.php?id=20684&torrentid=1053072"
124
+ assert entry .torrents [1 ].url == "/torrents.php?id=20684&torrentid=1053072"
125
125
assert entry .torrents [0 ].infohash is not None
126
126
assert entry .torrents [1 ].infohash is None
127
127
assert entry .torrents [0 ].tracker == Tracker .NYAA
128
- assert entry .torrents [1 ].tracker == Tracker .ANIMEBYTES
128
+ assert entry .torrents [1 ].tracker == Tracker .PRIVATE_TRACKER
129
129
assert entry .torrents [0 ].infohash is not None
130
130
assert entry .torrents [1 ].infohash is None
131
131
assert entry .updated_at == datetime (2024 , 1 , 30 , 19 , 28 , 10 , 337000 , tzinfo = timezone .utc )
@@ -160,7 +160,7 @@ def test_from_title(seadex_entry: SeaDexEntry, httpx_mock: HTTPXMock) -> None:
160
160
assert entry .torrents [0 ].infohash is not None
161
161
assert entry .torrents [1 ].infohash is None
162
162
assert entry .torrents [0 ].tracker == Tracker .NYAA
163
- assert entry .torrents [1 ].tracker == Tracker .ANIMEBYTES
163
+ assert entry .torrents [1 ].tracker == Tracker .PRIVATE_TRACKER
164
164
assert entry .torrents [0 ].infohash is not None
165
165
assert entry .torrents [1 ].infohash is None
166
166
assert entry .updated_at == datetime (2024 , 1 , 30 , 19 , 28 , 10 , 337000 , tzinfo = timezone .utc )
@@ -188,7 +188,7 @@ def test_from_filename(seadex_entry: SeaDexEntry, httpx_mock: HTTPXMock) -> None
188
188
assert entry .torrents [0 ].infohash is not None
189
189
assert entry .torrents [1 ].infohash is None
190
190
assert entry .torrents [0 ].tracker == Tracker .NYAA
191
- assert entry .torrents [1 ].tracker == Tracker .ANIMEBYTES
191
+ assert entry .torrents [1 ].tracker == Tracker .PRIVATE_TRACKER
192
192
assert entry .torrents [0 ].infohash is not None
193
193
assert entry .torrents [1 ].infohash is None
194
194
assert entry .updated_at == datetime (2024 , 1 , 30 , 19 , 28 , 10 , 337000 , tzinfo = timezone .utc )
@@ -219,11 +219,11 @@ def test_iterator(seadex_entry: SeaDexEntry, httpx_mock: HTTPXMock) -> None:
219
219
)
220
220
assert entry .theoretical_best is None
221
221
assert entry .torrents [0 ].url == "https://nyaa.si/view/1693872"
222
- assert entry .torrents [1 ].url == "https://animebytes.tv /torrents.php?id=20684&torrentid=1053072"
222
+ assert entry .torrents [1 ].url == "/torrents.php?id=20684&torrentid=1053072"
223
223
assert entry .torrents [0 ].infohash is not None
224
224
assert entry .torrents [1 ].infohash is None
225
225
assert entry .torrents [0 ].tracker == Tracker .NYAA
226
- assert entry .torrents [1 ].tracker == Tracker .ANIMEBYTES
226
+ assert entry .torrents [1 ].tracker == Tracker .PRIVATE_TRACKER
227
227
assert entry .torrents [0 ].infohash is not None
228
228
assert entry .torrents [1 ].infohash is None
229
229
assert entry .updated_at == datetime (2024 , 1 , 30 , 19 , 28 , 10 , 337000 , tzinfo = timezone .utc )
0 commit comments