~dricottone/parcels

92dafdc0448b6e46e77d10b613c3e7ebb0c077c7 — Dominic Ricottone 2 years ago 7f176b2 dev v1.1.1
Bug fix

Cursor was not being updated line over line. Every URL appeared to be
the first.
1 files changed, 3 insertions(+), 0 deletions(-)

M common/parcels.go
M common/parcels.go => common/parcels.go +3 -0
@@ 79,6 79,9 @@ func parseFromScanner(scanner *bufio.Scanner, offset int) (string, string, error
		for i, url := range new_urls {
			urls.WriteString(fmt.Sprintf("[%d] %s\n", cursor+i, url))
		}

		// update the cursor
		cursor += count
	}

	// Check for scanner errors