File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ # 0.8.5 (2023-09-4) [ #74 ] ( https://github.com/TuTarea/vinted-rs/pull/74/ )
4
+
5
+ ## Improved
6
+
7
+ - Removed static client
8
+ - Improved shared cookies between wrappers
9
+
3
10
# 0.8.5 (2023-09-3) [ #72 ] ( https://github.com/TuTarea/vinted-rs/pull/72/ )
4
11
5
12
## Improved
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " vinted-rs"
3
- version = " 0.8.5 "
3
+ version = " 0.8.6 "
4
4
edition = " 2021"
5
5
repository = " https://github.com/TuTarea/vinted-rs"
6
6
authors = [
Original file line number Diff line number Diff line change @@ -572,14 +572,14 @@ impl<'a> VintedWrapper<'a> {
572
572
573
573
let domain: & str = & format ! ( "vinted.{}" , self . host) ;
574
574
575
- let cookie_valid ;
575
+ let cookie_not_valid ;
576
576
577
577
{
578
578
let cookie_store_clone = COOKIE_STORE . lock ( ) . unwrap ( ) ;
579
- cookie_valid = cookie_store_clone. get ( domain, "/" , "__cf_bm" ) . is_none ( ) ;
579
+ cookie_not_valid = cookie_store_clone. get ( domain, "/" , "__cf_bm" ) . is_none ( ) ;
580
580
}
581
581
582
- if cookie_valid {
582
+ if cookie_not_valid {
583
583
debug ! (
584
584
"[{}] POST_GET_COOKIES -> Get {} items @ {}" ,
585
585
self . id, num, self . host
@@ -734,14 +734,14 @@ impl<'a> VintedWrapper<'a> {
734
734
735
735
let domain: & str = & format ! ( "vinted.{}" , self . host) ;
736
736
737
- let cookie_valid ;
737
+ let cookie_not_valid ;
738
738
739
739
{
740
740
let cookie_store_clone = COOKIE_STORE . lock ( ) . unwrap ( ) ;
741
- cookie_valid = cookie_store_clone. get ( domain, "/" , "__cf_bm" ) . is_none ( ) ;
741
+ cookie_not_valid = cookie_store_clone. get ( domain, "/" , "__cf_bm" ) . is_none ( ) ;
742
742
}
743
743
744
- if cookie_valid {
744
+ if cookie_not_valid {
745
745
debug ! (
746
746
"[{}] POST_GET_COOKIES -> Get item {} @ {}" ,
747
747
self . id, item_id, self . host
You can’t perform that action at this time.
0 commit comments