1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-07 16:15:32 +02:00
This commit is contained in:
Jan Lukas Gernert 2020-01-27 01:35:15 +01:00
parent b272c99911
commit c720dbc299

View file

@ -590,7 +590,7 @@ impl ArticleScraper {
};
}
if !completed_url.ends_with('/') {
if !completed_url.ends_with('/') && !incomplete_url.starts_with('/') {
completed_url.push_str("/");
}
completed_url.push_str(incomplete_url);