gosom / gosom/google-maps-scraper

Issue: CSV File Not Displaying Data

Open
#81 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
5.9k
Forks
924
Avg merge
5d 13h
Merged PRs (30d)
3

Description

After cloning the repository and navigating to the project directory, I started the web application using the following command:

```
go run main.go -web
```

The web app successfully starts at `localhost:8080`. However, despite multiple attempts and debugging sessions, I am unable to resolve an issue where the CSV file shows no data. The app doesn't throw any errors, and both the CSV file and the SQLite database are created successfully.

**Steps to Reproduce:**
1. Clone the repository.
2. Navigate to the project directory.
3. Run `go run main.go -web`.
4. Check the web app and observe that the CSV file has been created but contains no data.

**Expected Behavior:**
The CSV file should contain data as expected when interacting with the web app.

**Actual Behavior:**
The CSV file is created, but it is empty. No errors are shown in the logs or console output.

**Screenshots:**
- Web app running on `localhost:8080`.
- Screenshot of the CSV and SQLite database files showing successful creation.

**Environment:**
- Go version: `go1.23.1 linux/amd64`
- Running on Windows WSL

**Additional Information:**
- System OS: Windows WSL
- Database: SQLite

Any help in resolving this issue would be greatly appreciated!

![image](https://github.com/user-attachments/assets/16605609-db40-4613-a3af-f59ed7e78923)
![image](https://github.com/user-attachments/assets/275951a1-c0e6-4b97-b3c0-45ad173ae451)
![image](https://github.com/user-attachments/assets/e5a20cf0-a5b5-4f05-a5a0-bbef22224d9f)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.