Rename parser
This commit is contained in:
parent
38afb86753
commit
bddd41dde8
4 changed files with 9 additions and 7 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue