Closed Biztactix-Ryan closed 9 months ago
Agree, be a great feature.
I'd love as well to see this feature, using now Scraping Robot.
It'd be great to see city in addition to just the country:
Thank you!
Agree too, it'd be awesome to see this feature, thank you so much!
I agree. I am going to have my programming staff look into developing a patch for this.
@s3w47m88 I will actually start working on it myself within the next few days.
Thank you @towfiqi - I will stand by then. But let me know if you'd like us to assist.
you guys rock, thanks for working on this, super appreciated!
This has been added in v1.0.0 which has just been released. You can now scrape city-level Google search results with the following scrapers:
searchapi.io serpapi.com serper.dev spaceserp.com valueserp.com
Hi! I appreciate this addition, and wanted to add in my two cents. Google has a UULE perimeter on the URL you can add, which allows you to specify a location (city, coordinates, etc). This could be used on the scrapers that do not natively have the functionality built in. I have included JS code on how I implemented this in my own app, I do not have any experience with TS or this codebase unfortunately, but it is relatively simple:
<script>
function lengthBit(n) {
var bits = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
return bits[n % 64];
}
function encode(loc) {
var lenBit = lengthBit(loc.length);
return 'w+CAIQICI' + lenBit + btoa(loc);
}
function createSearchURL(query, loc) {
var encodedLoc = encode(loc);
return 'https://www.google.com/search?q=' + encodeURIComponent(query) + '&uule=' + encodedLoc;
}
function generateURL() {
var query = document.getElementById('query').value;
var loc = document.getElementById('loc').value;
var url = createSearchURL(query, loc);
document.getElementById('result').innerHTML = 'Generated URL: <a href="' + url + '" target="_blank">' + url + '</a>';
return false; // Prevent form submission
}
</script>
Where does this new setting appear? I pulled the latest via Docker and I don't see any options, I also don't see ValueSERP listed in the drop down.
Where does this new setting appear? I pulled the latest via Docker and I don't see any options, I also don't see ValueSERP listed in the drop down.
Did you update your serpbear instance? How are you running the app via docker or running locally without docker?
Docker. Yeah I am on Windows and opened PowerShell ans pulled the latest successfully.
-- [image: logo] http://www.theportlandcompany.com/ Spencer Hill Principal • The Portland Company mobile: (503) 610-8759 • office: (503) 567-9561 www.ThePortlandCompany.com http://www.theportlandcompany.com/ Advertising | Search | Social | Websites | Integrations | Apps | Photography | Film | Multimedia
On Fri, Feb 9, 2024 at 8:07 PM Towfiq I. @.***> wrote:
Where does this new setting appear? I pulled the latest via Docker and I don't see any options, I also don't see ValueSERP listed in the drop down.
Did you update your serpbear instance? How are you running the app via docker or running locally without docker?
— Reply to this email directly, view it on GitHub https://github.com/towfiqi/serpbear/issues/139#issuecomment-1936850141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT6ZQKEWULFVSTUZA32FIU3YS3XBDAVCNFSM6AAAAABANDSF3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWHA2TAMJUGE . You are receiving this because you commented.Message ID: @.***>
What command did you use to pull the latest release? Did you try restarting your container?
Yep. docker pull towfiqi/serpbear:latest
-- [image: logo] http://www.theportlandcompany.com/ Spencer Hill Principal • The Portland Company mobile: (503) 610-8759 • office: (503) 567-9561 www.ThePortlandCompany.com http://www.theportlandcompany.com/ Advertising | Search | Social | Websites | Integrations | Apps | Photography | Film | Multimedia
On Fri, Feb 9, 2024 at 8:41 PM Towfiq I. @.***> wrote:
What command did you use to pull the latest release? Did you try restarting your container?
— Reply to this email directly, view it on GitHub https://github.com/towfiqi/serpbear/issues/139#issuecomment-1936860799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT6ZQKHX2GC2IVK2QBG5EX3YS325VAVCNFSM6AAAAABANDSF3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWHA3DANZZHE . You are receiving this because you commented.Message ID: @.***>
Any thoughts? Could you share a screenshot of what users should see to choose a location?
-- [image: logo] http://www.theportlandcompany.com/ Spencer Hill Principal • The Portland Company mobile: (503) 610-8759 • office: (503) 567-9561 www.ThePortlandCompany.com http://www.theportlandcompany.com/ Advertising | Search | Social | Websites | Integrations | Apps | Photography | Film | Multimedia
On Fri, Feb 9, 2024 at 9:43 PM Spencer Hill < @.***> wrote:
Yep.
docker pull towfiqi/serpbear:latest
-- [image: logo] http://www.theportlandcompany.com/ Spencer Hill Principal • The Portland Company mobile: (503) 610-8759 • office: (503) 567-9561 www.ThePortlandCompany.com http://www.theportlandcompany.com/
Advertising | Search | Social | Websites | Integrations | Apps | Photography | Film | Multimedia
On Fri, Feb 9, 2024 at 8:41 PM Towfiq I. @.***> wrote:
What command did you use to pull the latest release? Did you try restarting your container?
— Reply to this email directly, view it on GitHub https://github.com/towfiqi/serpbear/issues/139#issuecomment-1936860799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT6ZQKHX2GC2IVK2QBG5EX3YS325VAVCNFSM6AAAAABANDSF3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWHA3DANZZHE . You are receiving this because you commented.Message ID: @.***>
You should see a new City field in the Add Keyword Modal.
After pulling the latest docker image, did you run the container from the latest image?
Thank you. You can close this Ticke now.
For those who might experience this issue as well:
It was my mistake (I'm new to Docker). I had three Images, two were "Dangling" (not associated with a Container) So when I ran the Pull command in PowerShell, to update SERPBear, it was updating one of the Dangling ones instead of the one associated with the Container.
I used ChatGPT to help me debug this.
Sent with Proton Mail secure email.
On Tuesday, February 13th, 2024 at 9:20 AM, Towfiq I. @.***> wrote:
You should see a new City field in the Add Keyword Modal. Screenshot.2024-02-13.231822.png (view on web)
After pulling the latest docker image, did you run the container from the latest image?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
I'd love to see it able to provide GeoTargeting on both Mobile and Desktop.... That would make it useful for brick and mortar shops, not just online companies
Just down to a Town Level would be fine.... But some companies provide Lat/Long to test mobile search.