Rename parser

This commit is contained in:
Rémi BERTHO 2020-05-24 09:27:45 +02:00
parent 38afb86753
commit bddd41dde8
Signed by: dalan
GPG key ID: EE3B917931C07B64
4 changed files with 9 additions and 7 deletions

View file

@ -1,4 +1,4 @@
use super::Parser;
use super::PriceParser;
use crate::PriceResult;
use scraper::{Selector, Html};
use url::Url;
@ -10,7 +10,7 @@ pub struct Darty {
product_selector: Selector
}
impl Parser for Darty {
impl PriceParser for Darty {
fn new() -> Self {
Darty {
price_selector: Selector::parse(r#".darty_prix"#).unwrap(),