Skip to main content
1 vote
1 answer
119 views

I'm having trouble querying UUID values stored as BLOB(16) in SQLite3 using Go (with goqu). I insert a UUID using uuid.New().MarshalBinary() and this works correctly. However, when I try to select the ...
StephenHawking's user avatar
0 votes
0 answers
84 views

I am processing html contents with some custom elements which might be self-closing tags. Below is the example: <!DOCTYPE en-note SYSTEM \"http://xml.evernote.com/pub/enml2.dtd\"><...
Manzurul Hoque Rumi's user avatar
2 votes
1 answer
49 views

package main import ( "fmt" "github.com/PuerkitoBio/goquery" "log" ) func main() { var links string = "" doc, err := goquery.NewDocument(...
tony's user avatar
  • 23
3 votes
0 answers
619 views

type selectUserWithOrders struct { id int name string orders []order } type order struct { id int total int } // user table columns are -> id , name, password // orders table columns are -&...
raj.dev's user avatar
  • 41
2 votes
1 answer
363 views

package main import ( "fmt" "github.com/PuerkitoBio/goquery" "net/http" ) func main() { url := "https://books.toscrape.com" resp, err := ...
Woody's user avatar
  • 21
1 vote
0 answers
44 views

I'm trying to make some automatic captcha input systems (recognition of figures in captcha image by deep learning and input the figure automatically) . For that, the captcha image should be inputted ...
Hong Sup Lee's user avatar
1 vote
0 answers
111 views

In GoQuery, how do you use it properly to modify the style of a certain element in a loop? I am currently unable to find it in the documentation. doc.Find("class[id=needsclick]").Each(func(i ...
i7solar's user avatar
  • 67
0 votes
2 answers
144 views

I have the following example <div class="myClass"> <div> <div> <p>1</p> </div> </div> <p>2&...
David Meléndez's user avatar
0 votes
0 answers
50 views

I have the following function, func getMosWantedInfo(doc *goquery.Document) { doc.Find("div.flex-align-center.bg-base-lightest.padding-1.margin-1").Each(func(i int, s *goquery.Selection) ...
David Meléndez's user avatar
1 vote
2 answers
472 views

<speak><voice name=\"en-US-JennyNeural\"><prosody rate=\"1\">aaaaaaaa<break time=\"5s\"/> bbbb. <br time=\"2s\"/>ccccccdddddddd &...
invoker kael's user avatar
2 votes
0 answers
621 views

I've been using colly for some simple web scraping tasks. It works fine for most of the cases where the web page layouts are consistent or for simple logic (e.g. a lot of existing examples and ...
Fewmitz's user avatar
  • 517
1 vote
0 answers
460 views

I want to accomplish with goquery the same what is done by the following Python code (the xpath in the comment specifies what is my target): from requests import get from bs4 import BeautifulSoup #/...
John Smith's user avatar
2 votes
2 answers
767 views

I have a code as below to scrape the specific cell value from html table. You can go to https://www.haremaltin.com/altin-fiyatlari website and search "satis__ATA_ESKI" on inspect mode to see ...
eyup.tatar's user avatar
1 vote
0 answers
3k views

I am trying to scrape products from mediamarkt site with Colly. Here is my code: func WebScraper(allowedDomain string, page string, htmlElement string, htmlTag string) { /* Order in which ...
Stefan Radonjic's user avatar
1 vote
1 answer
177 views

I am trying to use a string containing a ' character as an attribute value. However, ' is always replaced with &#39;. Is there a way around this? Since the value is enclosed with ", ' wouldn'...
who''s user avatar
  • 61

15 30 50 per page
1
2 3 4 5 6