Skip to content

Commit

Permalink
Merge pull request #187 from rnestler/fix/186-update-torrent-csv-domain
Browse files Browse the repository at this point in the history
Fix/186 Update torrent-csv domain
  • Loading branch information
rnestler authored Jan 3, 2024
2 parents 52d4483 + c13b897 commit 45b0bf3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

* Fix torrent-csv search

## [0.6.0] - 2023-10-19

### Changed
Expand Down
5 changes: 4 additions & 1 deletion src/search_providers/torrent_csv_search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ impl TorrentCsvSearch {
impl SearchProvider for TorrentCsvSearch {
async fn search(&self, term: &str) -> Result<Vec<Torrent>, Box<dyn Error + Send + Sync>> {
info!("Searching on Torrent-CSV");
let url = format!("https://torrents-csv.ml/service/search?size=300&q={}", term);
let url = format!(
"https://torrents-csv.com/service/search?size=300&q={}",
term
);

let https = HttpsConnector::new();
let client = Client::builder(TokioExecutor::new()).build::<_, Empty<Bytes>>(https);
Expand Down

0 comments on commit 45b0bf3

Please sign in to comment.