Merge branch 'support_smid_parameter_for_variants' into 'main'

Missing replace assigment (the change was not included into the commit by mistake)

See merge request jocaru/amazon-telegram!3
This commit is contained in:
2023-09-30 17:30:37 +00:00

View File

@@ -62,7 +62,7 @@ def extract_amazon_url_with_referer(text: str):
product_code = product_code_regex_result.group(0)
if vendor_and_smid_result:
extra_params = (''.join(str(w) for w in vendor_and_smid_result if w is not None))
extra_params.replace('?','&')
extra_params = extra_params.replace('?','&')
return helpers.new_refer_url(product_code, extra_params)