Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nnqq committed Aug 27, 2023
1 parent 780f213 commit 950dcc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion producer/producer_do.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"io/ioutil"
"net/http"
"os"
"strings"
"time"
)

Expand All @@ -34,7 +35,7 @@ func (p Producer) Do(ctx context.Context) error {
if s.Text() == "Гиперссылка (URL) на набор" {
attr, ok := s.Next().Children().Attr("href")
if ok && attr != "" {
dlLink = attr
dlLink = strings.TrimSpace(attr)
return false
}
}
Expand Down

0 comments on commit 950dcc7

Please sign in to comment.