mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-07 16:15:32 +02:00
fixup
This commit is contained in:
parent
b272c99911
commit
c720dbc299
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue