On Thursday, February 7, 2019 at 8:55:29 AM UTC-5, Colin Law wrote:
>
> On Thu, 7 Feb 2019 at 11:25, fugee ohu >
> wrote:
>
>>
>>
>> On Thursday, February 7, 2019 at 3:57:03 AM UTC-5, Colin Law wrote:
>>>
>>> On Thu, 7 Feb 2019 at 07:49, Colin Law wrote:
>>>
On Thu, 7 Feb 2019, 0
On Thursday, February 7, 2019 at 8:55:29 AM UTC-5, Colin Law wrote:
>
> On Thu, 7 Feb 2019 at 11:25, fugee ohu >
> wrote:
>
>>
>>
>> On Thursday, February 7, 2019 at 3:57:03 AM UTC-5, Colin Law wrote:
>>>
>>> On Thu, 7 Feb 2019 at 07:49, Colin Law wrote:
>>>
On Thu, 7 Feb 2019, 0
On Thursday, February 7, 2019 at 8:55:29 AM UTC-5, Colin Law wrote:
>
> On Thu, 7 Feb 2019 at 11:25, fugee ohu >
> wrote:
>
>>
>>
>> On Thursday, February 7, 2019 at 3:57:03 AM UTC-5, Colin Law wrote:
>>>
>>> On Thu, 7 Feb 2019 at 07:49, Colin Law wrote:
>>>
On Thu, 7 Feb 2019, 0
On Wednesday, January 30, 2019 at 5:16:59 PM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 22:12, Colin Law >
> wrote:
> >
> > On Wed, 30 Jan 2019 at 22:09, fugee ohu >
> wrote:
> > >
> > >
> > >
> > > On Wednesday, January 30, 2019 at 5:02:17 PM UTC-5, Colin Law wrote:
> > >>
> >
On Thu, 7 Feb 2019 at 11:25, fugee ohu wrote:
>
>
> On Thursday, February 7, 2019 at 3:57:03 AM UTC-5, Colin Law wrote:
>>
>> On Thu, 7 Feb 2019 at 07:49, Colin Law wrote:
>>
>>>
>>>
>>> On Thu, 7 Feb 2019, 01:36 fugee ohu >>
On Wednesday, February 6, 2019 at 5:04:55 PM UTC-5, Col
On Thursday, February 7, 2019 at 3:57:03 AM UTC-5, Colin Law wrote:
>
> On Thu, 7 Feb 2019 at 07:49, Colin Law >
> wrote:
>
>>
>>
>> On Thu, 7 Feb 2019, 01:36 fugee ohu
>> wrote:
>>
>>>
>>>
>>> On Wednesday, February 6, 2019 at 5:04:55 PM UTC-5, Colin Law wrote:
On Wed, 6 Feb 2019 at
On Thu, 7 Feb 2019 at 07:49, Colin Law wrote:
>
>
> On Thu, 7 Feb 2019, 01:36 fugee ohu
>>
>>
>> On Wednesday, February 6, 2019 at 5:04:55 PM UTC-5, Colin Law wrote:
>>>
>>> On Wed, 6 Feb 2019 at 21:42, fugee ohu wrote:
>>>
...
JSON::ParserError: 784: unexpected token at
'skuProd
On Thu, 7 Feb 2019, 01:36 fugee ohu
>
> On Wednesday, February 6, 2019 at 5:04:55 PM UTC-5, Colin Law wrote:
>>
>> On Wed, 6 Feb 2019 at 21:42, fugee ohu wrote:
>>
>>> ...
>>> JSON::ParserError: 784: unexpected token at
>>> 'skuProducts=[{"skuAttr":"27763:201336100;491:24763#145cm","skuPr
On Wednesday, February 6, 2019 at 5:04:55 PM UTC-5, Colin Law wrote:
>
> On Wed, 6 Feb 2019 at 21:42, fugee ohu >
> wrote:
>
>> ...
>> JSON::ParserError: 784: unexpected token at
>> 'skuProducts=[{"skuAttr":"27763:201336100;491:24763#145cm","skuPropIds"
>>
>>
>>
>
> I understand why
On Wednesday, February 6, 2019 at 5:04:55 PM UTC-5, Colin Law wrote:
>
> On Wed, 6 Feb 2019 at 21:42, fugee ohu >
> wrote:
>
>> ...
>> JSON::ParserError: 784: unexpected token at
>> 'skuProducts=[{"skuAttr":"27763:201336100;491:24763#145cm","skuPropIds"
>>
>>
>>
>
> I understand why
On Wednesday, February 6, 2019 at 5:04:55 PM UTC-5, Colin Law wrote:
>
> On Wed, 6 Feb 2019 at 21:42, fugee ohu >
> wrote:
>
>> ...
>> JSON::ParserError: 784: unexpected token at
>> 'skuProducts=[{"skuAttr":"27763:201336100;491:24763#145cm","skuPropIds"
>>
>>
>>
>
> I understand why
On Wed, 6 Feb 2019 at 21:42, fugee ohu wrote:
> ...
> JSON::ParserError: 784: unexpected token at
> 'skuProducts=[{"skuAttr":"27763:201336100;491:24763#145cm","skuPropIds"
>
>
I understand why people get annoyed with your posts. What is the point of
posting a string that is obviously no
On Monday, February 4, 2019 at 6:43:48 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Feb 4, 2019, at 12:27 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Monday, February 4, 2019 at 8:10:33 AM UTC-5, Walter Lee Davis wrote:
> >
> > > On Feb 4, 2019, at 7:35 AM, fugee ohu wrote:
> > >
> > >
On Monday, February 4, 2019 at 6:43:48 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Feb 4, 2019, at 12:27 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Monday, February 4, 2019 at 8:10:33 AM UTC-5, Walter Lee Davis wrote:
> >
> > > On Feb 4, 2019, at 7:35 AM, fugee ohu wrote:
> > >
> > >
On Monday, February 4, 2019 at 6:43:48 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Feb 4, 2019, at 12:27 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Monday, February 4, 2019 at 8:10:33 AM UTC-5, Walter Lee Davis wrote:
> >
> > > On Feb 4, 2019, at 7:35 AM, fugee ohu wrote:
> > >
> > >
> On Feb 4, 2019, at 12:27 PM, fugee ohu wrote:
>
>
>
> On Monday, February 4, 2019 at 8:10:33 AM UTC-5, Walter Lee Davis wrote:
>
> > On Feb 4, 2019, at 7:35 AM, fugee ohu wrote:
> >
> >
> >
> > On Sunday, February 3, 2019 at 9:54:25 PM UTC-5, Walter Lee Davis wrote:
> >
> > > On Feb
On Monday, February 4, 2019 at 8:10:33 AM UTC-5, Walter Lee Davis wrote:
>
>
> > On Feb 4, 2019, at 7:35 AM, fugee ohu >
> wrote:
> >
> >
> >
> > On Sunday, February 3, 2019 at 9:54:25 PM UTC-5, Walter Lee Davis wrote:
> >
> > > On Feb 3, 2019, at 7:14 PM, fugee ohu wrote:
> > >
> > >
> On Feb 4, 2019, at 7:35 AM, fugee ohu wrote:
>
>
>
> On Sunday, February 3, 2019 at 9:54:25 PM UTC-5, Walter Lee Davis wrote:
>
> > On Feb 3, 2019, at 7:14 PM, fugee ohu wrote:
> >
> >
> >
> > On Wednesday, January 30, 2019 at 5:16:59 PM UTC-5, Colin Law wrote:
> > On Wed, 30 Jan 201
On Sunday, February 3, 2019 at 9:54:25 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Feb 3, 2019, at 7:14 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, January 30, 2019 at 5:16:59 PM UTC-5, Colin Law wrote:
> > On Wed, 30 Jan 2019 at 22:12, Colin Law wrote:
> > >
> > > On Wed, 30
On Sunday, February 3, 2019 at 9:54:25 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Feb 3, 2019, at 7:14 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, January 30, 2019 at 5:16:59 PM UTC-5, Colin Law wrote:
> > On Wed, 30 Jan 2019 at 22:12, Colin Law wrote:
> > >
> > > On Wed, 30
On Sunday, February 3, 2019 at 9:54:25 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Feb 3, 2019, at 7:14 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, January 30, 2019 at 5:16:59 PM UTC-5, Colin Law wrote:
> > On Wed, 30 Jan 2019 at 22:12, Colin Law wrote:
> > >
> > > On Wed, 30
> On Feb 3, 2019, at 7:14 PM, fugee ohu wrote:
>
>
>
> On Wednesday, January 30, 2019 at 5:16:59 PM UTC-5, Colin Law wrote:
> On Wed, 30 Jan 2019 at 22:12, Colin Law wrote:
> >
> > On Wed, 30 Jan 2019 at 22:09, fugee ohu wrote:
> > >
> > >
> > >
> > > On Wednesday, January 30, 2019 at
On Wednesday, January 30, 2019 at 5:16:59 PM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 22:12, Colin Law >
> wrote:
> >
> > On Wed, 30 Jan 2019 at 22:09, fugee ohu >
> wrote:
> > >
> > >
> > >
> > > On Wednesday, January 30, 2019 at 5:02:17 PM UTC-5, Colin Law wrote:
> > >>
> >
On Wednesday, January 30, 2019 at 5:16:59 PM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 22:12, Colin Law >
> wrote:
> >
> > On Wed, 30 Jan 2019 at 22:09, fugee ohu >
> wrote:
> > >
> > >
> > >
> > > On Wednesday, January 30, 2019 at 5:02:17 PM UTC-5, Colin Law wrote:
> > >>
> >
On Wednesday, January 30, 2019 at 5:13:03 PM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 22:09, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, January 30, 2019 at 5:02:17 PM UTC-5, Colin Law wrote:
> >>
> >> On Wed, 30 Jan 2019 at 21:56, fugee ohu wrote:
> >> > ...
> >> > Eve
On Wed, 30 Jan 2019 at 22:12, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 22:09, fugee ohu wrote:
> >
> >
> >
> > On Wednesday, January 30, 2019 at 5:02:17 PM UTC-5, Colin Law wrote:
> >>
> >> On Wed, 30 Jan 2019 at 21:56, fugee ohu wrote:
> >> > ...
> >> > Everything in the unparsed resonse bod
On Wed, 30 Jan 2019 at 22:09, fugee ohu wrote:
>
>
>
> On Wednesday, January 30, 2019 at 5:02:17 PM UTC-5, Colin Law wrote:
>>
>> On Wed, 30 Jan 2019 at 21:56, fugee ohu wrote:
>> > ...
>> > Everything in the unparsed resonse body that I want is between [ and ] I
>> > have to gsub it out
>>
>>
>
On Wed, 30 Jan 2019 at 22:05, fugee ohu wrote:
>
> How do I chomp everything at the end of the string starting with ]
You don't. What you have already is fine. Read my previous email.
Colin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: T
On Wednesday, January 30, 2019 at 5:02:17 PM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 21:56, fugee ohu >
> wrote:
> > ...
> > Everything in the unparsed resonse body that I want is between [ and ] I
> have to gsub it out
>
>
> No you don't. After you get parsed_obj["results] (whic
On Wednesday, January 30, 2019 at 12:44:53 PM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 16:41, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, January 30, 2019 at 9:45:03 AM UTC-5, Colin Law wrote:
> >>
> >> On Wed, 30 Jan 2019 at 13:48, fugee ohu wrote:
> >> >
> >> >>
> >>
On Wed, 30 Jan 2019 at 21:56, fugee ohu wrote:
> ...
> Everything in the unparsed resonse body that I want is between [ and ] I have
> to gsub it out
No you don't. After you get parsed_obj["results] (which is an array,
that's what the [] mean) then you can get the first product by
parsed_obj["
On Wednesday, January 30, 2019 at 12:44:53 PM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 16:41, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, January 30, 2019 at 9:45:03 AM UTC-5, Colin Law wrote:
> >>
> >> On Wed, 30 Jan 2019 at 13:48, fugee ohu wrote:
> >> >
> >> >>
> >>
On Wed, 30 Jan 2019 at 16:41, fugee ohu wrote:
>
>
>
> On Wednesday, January 30, 2019 at 9:45:03 AM UTC-5, Colin Law wrote:
>>
>> On Wed, 30 Jan 2019 at 13:48, fugee ohu wrote:
>> >
>> >>
>> >> Show us what puts parsed_obj["results"] gives. If it is long then
>> >> from the start up to where pro
On Wednesday, January 30, 2019 at 9:45:03 AM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 13:48, fugee ohu >
> wrote:
> >
> >>
> >> Show us what puts parsed_obj["results"] gives. If it is long then
> >> from the start up to where productID occurs.
> >>
> >> Colin
> >
> >
> > {"p
On Wed, 30 Jan 2019 at 13:48, fugee ohu wrote:
>
>>
>> Show us what puts parsed_obj["results"] gives. If it is long then
>> from the start up to where productID occurs.
>>
>> Colin
>
>
> {"productId"=>32970292001, "sellerId"=>235696817, "oriMinPrice"=>"US
> $50.00", "oriMaxPrice"=>"US $50.00",
On Wednesday, January 30, 2019 at 6:54:36 AM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 11:19, fugee ohu >
> wrote:
> > ...
> > puts parsed_obj["results"] shows the entire results but `puts
> parsed_obj["results"]["productId"] gets me error no implicit conversion of
> String into In
On Wed, 30 Jan 2019 at 11:19, fugee ohu wrote:
> ...
> puts parsed_obj["results"] shows the entire results but `puts
> parsed_obj["results"]["productId"] gets me error no implicit conversion of
> String into Integer
Show us what puts parsed_obj["results"] gives. If it is long then
from the st
On Wednesday, January 30, 2019 at 5:15:54 AM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 10:09, fugee ohu >
> wrote:
> >
> > How would I get results->productId
>
> results["productId"]
>
> Colin
>
puts parsed_obj["results"] shows the entire results but `puts
parsed_obj["results"][
On Wednesday, January 30, 2019 at 5:15:54 AM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 10:09, fugee ohu >
> wrote:
> >
> > How would I get results->productId
>
> results["productId"]
>
> Colin
>
than
--
You received this message because you are subscribed to the Google Groups "
On Wed, 30 Jan 2019 at 10:09, fugee ohu wrote:
>
> How would I get results->productId
results["productId"]
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an
On Wednesday, January 30, 2019 at 5:06:13 AM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 09:55, fugee ohu >
> wrote:
> > ...
> > I can print the outer values of parsed_obj with an iteration loop
> > parsed_obj.each |key, val| do
> > can you tell me how do i select individual keys with
On Wed, 30 Jan 2019 at 09:55, fugee ohu wrote:
> ...
> I can print the outer values of parsed_obj with an iteration loop
> parsed_obj.each |key, val| do
> can you tell me how do i select individual keys within the nested hash
> 'results'
Does that mean you have parsed it ok?
Isn't it obvious?
On Wednesday, January 30, 2019 at 4:36:29 AM UTC-5, fugee ohu wrote:
>
>
>
> On Wednesday, January 30, 2019 at 2:02:06 AM UTC-5, Colin Law wrote:
>>
>>
>>
>> On Wed, 30 Jan 2019, 03:52 fugee ohu >
>>>
>>>
>>> On Tuesday, January 29, 2019 at 4:21:43 AM UTC-5, Colin Law wrote:
On Tue, 29
On Wednesday, January 30, 2019 at 2:02:06 AM UTC-5, Colin Law wrote:
>
>
>
> On Wed, 30 Jan 2019, 03:52 fugee ohu
> wrote:
>
>>
>>
>> On Tuesday, January 29, 2019 at 4:21:43 AM UTC-5, Colin Law wrote:
>>>
>>> On Tue, 29 Jan 2019 at 03:20, fugee ohu wrote:
>>> > ...
>>> > Can you give me an i
On Wed, 30 Jan 2019, 03:52 fugee ohu
>
> On Tuesday, January 29, 2019 at 4:21:43 AM UTC-5, Colin Law wrote:
>>
>> On Tue, 29 Jan 2019 at 03:20, fugee ohu wrote:
>> > ...
>> > Can you give me an idea how to extract it
>>
>> Are you seriously asking, after the years that you have been using
>> Ruby
On Tuesday, January 29, 2019 at 4:21:43 AM UTC-5, Colin Law wrote:
>
> On Tue, 29 Jan 2019 at 03:20, fugee ohu >
> wrote:
> > ...
> > Can you give me an idea how to extract it
>
> Are you seriously asking, after the years that you have been using
> Ruby, that you don't know how to extract a
Hi,
Can anyone help how to work this projects
On Tue, Jan 29, 2019 at 2:51 PM Colin Law wrote:
> On Tue, 29 Jan 2019 at 03:20, fugee ohu wrote:
> > ...
> > Can you give me an idea how to extract it
>
> Are you seriously asking, after the years that you have been using
> Ruby, that you don't kn
On Tue, 29 Jan 2019 at 03:20, fugee ohu wrote:
> ...
> Can you give me an idea how to extract it
Are you seriously asking, after the years that you have been using
Ruby, that you don't know how to extract a particular section from a
string? Apart from anything else, since I haven't got access to
On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote:
>
> On Sun, 30 Dec 2018 at 12:06, fugee ohu >
> wrote:
> > ...
> > It's not json it's javascript so I don't have to run JSON.parse
>
> {"success":true,"code":0,"results":[{"productId":3281905, ...
> Looks like JSON to me
On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote:
>
> On Sun, 30 Dec 2018 at 12:06, fugee ohu >
> wrote:
> > ...
> > It's not json it's javascript so I don't have to run JSON.parse
>
> {"success":true,"code":0,"results":[{"productId":3281905, ...
> Looks like JSON to me
If you get “Connection reset by peer” while scraping a website, it is very
likely that your scraping attempts were detected and automatically blocked
for a while. They might have also been alerted by all of these malformed
requests.
Consider pacing out your requests so that it doesn’t look like yo
On Monday, December 31, 2018 at 7:25:13 AM UTC-5, Colin Law wrote:
>
> On Mon, 31 Dec 2018 at 12:12, fugee ohu >
> wrote:
> >
> >
> >
> > On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote:
> >>
> >> On Sun, 30 Dec 2018 at 15:45, fugee ohu wrote:
> >> >
> >> >
> >> >
>
On Monday, December 31, 2018 at 7:25:13 AM UTC-5, Colin Law wrote:
>
> On Mon, 31 Dec 2018 at 12:12, fugee ohu >
> wrote:
> >
> >
> >
> > On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote:
> >>
> >> On Sun, 30 Dec 2018 at 15:45, fugee ohu wrote:
> >> >
> >> >
> >> >
>
On Monday, December 31, 2018 at 7:25:13 AM UTC-5, Colin Law wrote:
>
> On Mon, 31 Dec 2018 at 12:12, fugee ohu >
> wrote:
> >
> >
> >
> > On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote:
> >>
> >> On Sun, 30 Dec 2018 at 15:45, fugee ohu wrote:
> >> >
> >> >
> >> >
>
On Mon, 31 Dec 2018 at 12:12, fugee ohu wrote:
>
>
>
> On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote:
>>
>> On Sun, 30 Dec 2018 at 15:45, fugee ohu wrote:
>> >
>> >
>> >
>> > On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote:
>> >>
>> >> On Sun, 30 Dec 2018 at
On Mon, 31 Dec 2018 at 05:26, fugee ohu wrote:
>
>
>
> On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote:
>>
>> On Sun, 30 Dec 2018 at 15:45, fugee ohu wrote:
>> >
>> >
>> >
>> > On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote:
>> >>
>> >> On Sun, 30 Dec 2018 at
On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote:
>
> On Sun, 30 Dec 2018 at 15:45, fugee ohu >
> wrote:
> >
> >
> >
> > On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote:
> >>
> >> On Sun, 30 Dec 2018 at 12:06, fugee ohu wrote:
> >> > ...
> >> > It's n
On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote:
>
> On Sun, 30 Dec 2018 at 15:45, fugee ohu >
> wrote:
> >
> >
> >
> > On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote:
> >>
> >> On Sun, 30 Dec 2018 at 12:06, fugee ohu wrote:
> >> > ...
> >> > It's n
On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote:
>
> On Sun, 30 Dec 2018 at 15:45, fugee ohu >
> wrote:
> >
> >
> >
> > On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote:
> >>
> >> On Sun, 30 Dec 2018 at 12:06, fugee ohu wrote:
> >> > ...
> >> > It's n
On Sun, Dec 30, 2018 at 3:37 AM fugee ohu wrote:
>>
> You mean the Net::HTTP docs? I don't know I haven't thought to read them
🙄
> I found this page
> http://po-ru.com/diary/turning-jsonp-callbacks-into-a-ruby-api-with-johnson/
> but don't understand it
That's an interesting approach though `
On Sun, 30 Dec 2018 at 15:45, fugee ohu wrote:
>
>
>
> On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote:
>>
>> On Sun, 30 Dec 2018 at 12:06, fugee ohu wrote:
>> > ...
>> > It's not json it's javascript so I don't have to run JSON.parse
>>
>> {"success":true,"code":0,"results":[{"
On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote:
>
> On Sun, 30 Dec 2018 at 12:06, fugee ohu >
> wrote:
> > ...
> > It's not json it's javascript so I don't have to run JSON.parse
>
> {"success":true,"code":0,"results":[{"productId":3281905, ...
> Looks like JSON to me
On Sun, 30 Dec 2018 at 12:06, fugee ohu wrote:
> ...
> It's not json it's javascript so I don't have to run JSON.parse
{"success":true,"code":0,"results":[{"productId":3281905, ...
Looks like JSON to me (embedded in js admittedly). You said that the
data you want is in that string. If that
On Saturday, December 29, 2018 at 10:02:07 AM UTC-5, Walter Lee Davis wrote:
>
>
> > On Dec 29, 2018, at 7:13 AM, fugee ohu >
> wrote:
> >
> >
> >
> > On Saturday, December 29, 2018 at 6:48:22 AM UTC-5, Colin Law wrote:
> > On Sat, 29 Dec 2018 at 11:16, fugee ohu wrote:
> > > ...
> > >
On Friday, December 28, 2018 at 3:37:12 PM UTC-5, Hassan Schroeder wrote:
>
> On Thu, Dec 27, 2018 at 11:29 PM fugee ohu > wrote:
>
> >> On Thu, Dec 27, 2018 at 4:10 PM fugee ohu wrote:
>
> > What docs? You asked if I passed in an `accept request header` so I
> asked if I need to You're obsc
On Saturday, December 29, 2018 at 10:02:07 AM UTC-5, Walter Lee Davis wrote:
>
>
> > On Dec 29, 2018, at 7:13 AM, fugee ohu >
> wrote:
> >
> >
> >
> > On Saturday, December 29, 2018 at 6:48:22 AM UTC-5, Colin Law wrote:
> > On Sat, 29 Dec 2018 at 11:16, fugee ohu wrote:
> > > ...
> > >
> On Dec 29, 2018, at 7:13 AM, fugee ohu wrote:
>
>
>
> On Saturday, December 29, 2018 at 6:48:22 AM UTC-5, Colin Law wrote:
> On Sat, 29 Dec 2018 at 11:16, fugee ohu wrote:
> > ...
> > It's not clear to me what the response is Can the problem be that my
> > request is the full url with
On Friday, December 28, 2018 at 11:04:37 AM UTC-5, Colin Law wrote:
>
> On Fri, 28 Dec 2018 at 15:53, fugee ohu >
> wrote:
> > ...
> > I don't know what a valid json response is supposed to look like Also I
> don't know if it makes a difference they're using Struts framework
>
> Once again
On Friday, December 28, 2018 at 11:04:37 AM UTC-5, Colin Law wrote:
>
> On Fri, 28 Dec 2018 at 15:53, fugee ohu >
> wrote:
> > ...
> > I don't know what a valid json response is supposed to look like Also I
> don't know if it makes a difference they're using Struts framework
>
> Once again
On Thu, Dec 27, 2018 at 11:29 PM fugee ohu wrote:
>> On Thu, Dec 27, 2018 at 4:10 PM fugee ohu wrote:
> What docs? You asked if I passed in an `accept request header` so I asked if
> I need to You're obscuring this thread
>> > So I need to pass in accept request header json as the first param
On Fri, 28 Dec 2018 at 15:53, fugee ohu wrote:
> ...
> I don't know what a valid json response is supposed to look like Also I don't
> know if it makes a difference they're using Struts framework
Once again I have googled for a link for you
https://www.w3schools.com/whatis/whatis_json.asp
Coli
On Friday, December 28, 2018 at 9:38:38 AM UTC-5, Colin Law wrote:
>
> On Fri, 28 Dec 2018 at 14:19, fugee ohu >
> wrote:
> >
> >
> >
> > On Friday, December 28, 2018 at 8:38:14 AM UTC-5, Colin Law wrote:
> >>
> >> On Fri, 28 Dec 2018 at 12:58, fugee ohu wrote:
> >> > ...
> >> > Yes the
On Fri, 28 Dec 2018 at 14:19, fugee ohu wrote:
>
>
>
> On Friday, December 28, 2018 at 8:38:14 AM UTC-5, Colin Law wrote:
>>
>> On Fri, 28 Dec 2018 at 12:58, fugee ohu wrote:
>> > ...
>> > Yes the sources tab showed the script and it's output, a string, but how
>> > do I parse it into an object?
On Friday, December 28, 2018 at 8:38:14 AM UTC-5, Colin Law wrote:
>
> On Fri, 28 Dec 2018 at 12:58, fugee ohu >
> wrote:
> > ...
> > Yes the sources tab showed the script and it's output, a string, but how
> do I parse it into an object?
>
> If it is a JSON string then JSON.parse should do
On Fri, 28 Dec 2018 at 12:58, fugee ohu wrote:
> ...
> Yes the sources tab showed the script and it's output, a string, but how do I
> parse it into an object?
If it is a JSON string then JSON.parse should do it. If it is not
then perhaps you need to strip something off to get to be valid JSON.
On Wednesday, November 7, 2018 at 12:28:05 PM UTC-5, Jake Niemiec wrote:
>
> The ui-box class would indicate that it is a react component:
> https://github.com/segmentio/ui-box
>
> React components are run client-side, meaning the text you are looking for
> is inserted into the document after t
On Wednesday, November 7, 2018 at 12:28:05 PM UTC-5, Jake Niemiec wrote:
>
> The ui-box class would indicate that it is a react component:
> https://github.com/segmentio/ui-box
>
> React components are run client-side, meaning the text you are looking for
> is inserted into the document after t
On Thursday, December 27, 2018 at 8:07:19 PM UTC-5, Hassan Schroeder wrote:
>
> On Thu, Dec 27, 2018 at 4:10 PM fugee ohu >
> wrote:
>
> > So I need to pass in accept request header json as the first parameter
> to NET::HTTP ?
>
> Is that what the docs say?
>
> --
> Hassan Schroeder ---
On Thursday, December 27, 2018 at 1:38:34 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Dec 26, 2018, at 5:12 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, December 26, 2018 at 4:41:53 AM UTC-5, Colin Law wrote:
> > On Tue, 25 Dec 2018 at 20:19, fugee ohu wrote:
> > >
> > > yes,
On Thursday, December 27, 2018 at 8:07:19 PM UTC-5, Hassan Schroeder wrote:
>
> On Thu, Dec 27, 2018 at 4:10 PM fugee ohu >
> wrote:
>
> > So I need to pass in accept request header json as the first parameter
> to NET::HTTP ?
>
> Is that what the docs say?
>
> --
> Hassan Schroeder ---
On Thursday, December 27, 2018 at 5:46:59 PM UTC-5, Hassan Schroeder wrote:
>
> On Thu, Dec 27, 2018 at 2:00 PM fugee ohu >
> wrote:
>
> > Net::HTTP.get() returns a string
> > data = JSON.parse(response)
> > JSON::ParserError: 765: unexpected token at
> 'jQuery1830644047005491_154589
On Thu, Dec 27, 2018 at 4:10 PM fugee ohu wrote:
> So I need to pass in accept request header json as the first parameter to
> NET::HTTP ?
Is that what the docs say?
--
Hassan Schroeder hassan.schroe...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Vall
On Thursday, December 27, 2018 at 5:46:59 PM UTC-5, Hassan Schroeder wrote:
>
> On Thu, Dec 27, 2018 at 2:00 PM fugee ohu >
> wrote:
>
> > Net::HTTP.get() returns a string
> > data = JSON.parse(response)
> > JSON::ParserError: 765: unexpected token at
> 'jQuery1830644047005491_154589
On Thu, Dec 27, 2018 at 2:00 PM fugee ohu wrote:
> Net::HTTP.get() returns a string
> data = JSON.parse(response)
> JSON::ParserError: 765: unexpected token at
> 'jQuery1830644047005491_154589753({"success":true,"code":0,"results":[{"productId"
Did you ask for JSON data via the Accept r
On Thursday, December 27, 2018 at 5:17:05 PM UTC-5, Colin Law wrote:
>
> On Thu, 27 Dec 2018 at 22:00, fugee ohu >
> wrote:
> >
> >
> >
> > On Thursday, December 27, 2018 at 4:04:55 PM UTC-5, Hassan Schroeder
> wrote:
> >>
> >> On Thu, Dec 27, 2018 at 12:24 PM fugee ohu wrote:
> >>
> >
On Thu, 27 Dec 2018 at 22:00, fugee ohu wrote:
>
>
>
> On Thursday, December 27, 2018 at 4:04:55 PM UTC-5, Hassan Schroeder wrote:
>>
>> On Thu, Dec 27, 2018 at 12:24 PM fugee ohu wrote:
>>
>> > So then how
>>
>> 1) choose HTTP client
>> 2) send request
>> 3) parse response
>>
>> --
>> Hassan Sch
On Thursday, December 27, 2018 at 4:04:55 PM UTC-5, Hassan Schroeder wrote:
>
> On Thu, Dec 27, 2018 at 12:24 PM fugee ohu > wrote:
>
> > So then how
>
> 1) choose HTTP client
> 2) send request
> 3) parse response
>
> --
> Hassan Schroeder hassan.s...@gmail.com
>
On Thursday, December 27, 2018 at 1:38:34 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Dec 26, 2018, at 5:12 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, December 26, 2018 at 4:41:53 AM UTC-5, Colin Law wrote:
> > On Tue, 25 Dec 2018 at 20:19, fugee ohu wrote:
> > >
> > > yes,
On Thursday, December 27, 2018 at 1:38:34 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Dec 26, 2018, at 5:12 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, December 26, 2018 at 4:41:53 AM UTC-5, Colin Law wrote:
> > On Tue, 25 Dec 2018 at 20:19, fugee ohu wrote:
> > >
> > > yes,
On Thursday, December 27, 2018 at 1:38:34 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Dec 26, 2018, at 5:12 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, December 26, 2018 at 4:41:53 AM UTC-5, Colin Law wrote:
> > On Tue, 25 Dec 2018 at 20:19, fugee ohu wrote:
> > >
> > > yes,
On Thu, Dec 27, 2018 at 12:24 PM fugee ohu wrote:
> So then how
1) choose HTTP client
2) send request
3) parse response
--
Hassan Schroeder hassan.schroe...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
You received this message bec
On Thursday, December 27, 2018 at 1:38:34 PM UTC-5, Walter Lee Davis wrote:
>
>
> > On Dec 26, 2018, at 5:12 PM, fugee ohu >
> wrote:
> >
> >
> >
> > On Wednesday, December 26, 2018 at 4:41:53 AM UTC-5, Colin Law wrote:
> > On Tue, 25 Dec 2018 at 20:19, fugee ohu wrote:
> > >
> > > yes,
> On Dec 26, 2018, at 5:12 PM, fugee ohu wrote:
>
>
>
> On Wednesday, December 26, 2018 at 4:41:53 AM UTC-5, Colin Law wrote:
> On Tue, 25 Dec 2018 at 20:19, fugee ohu wrote:
> >
> > yes, there's scripts running and when i click response i see the data i'm
> > looking for The script names
On Wednesday, December 26, 2018 at 4:41:53 AM UTC-5, Colin Law wrote:
>
> On Tue, 25 Dec 2018 at 20:19, fugee ohu >
> wrote:
> >
> > yes, there's scripts running and when i click response i see the data
> i'm looking for The script names are https urls ending in .do? with a lot
> of query st
On Tue, 25 Dec 2018 at 20:19, fugee ohu wrote:
>
> yes, there's scripts running and when i click response i see the data i'm
> looking for The script names are https urls ending in .do? with a lot of
> query string data, so what should I do?
Don't worry about scripts for the moment, look for ur
On Saturday, November 10, 2018 at 4:57:54 PM UTC-5, Colin Law wrote:
>
> On Sat, 10 Nov 2018 at 21:28, fugee ohu >
> wrote:
> >
> >
> >
> > On Saturday, November 10, 2018 at 12:26:40 PM UTC-5, Colin Law wrote:
> >>
> >> On Sat, 10 Nov 2018 at 17:23, fugee ohu wrote:
> >> > ...
> >> > It
On Saturday, November 10, 2018 at 4:57:54 PM UTC-5, Colin Law wrote:
>
> On Sat, 10 Nov 2018 at 21:28, fugee ohu >
> wrote:
> >
> >
> >
> > On Saturday, November 10, 2018 at 12:26:40 PM UTC-5, Colin Law wrote:
> >>
> >> On Sat, 10 Nov 2018 at 17:23, fugee ohu wrote:
> >> > ...
> >> > It
On Saturday, November 10, 2018 at 4:57:54 PM UTC-5, Colin Law wrote:
>
> On Sat, 10 Nov 2018 at 21:28, fugee ohu >
> wrote:
> >
> >
> >
> > On Saturday, November 10, 2018 at 12:26:40 PM UTC-5, Colin Law wrote:
> >>
> >> On Sat, 10 Nov 2018 at 17:23, fugee ohu wrote:
> >> > ...
> >> > It
On Saturday, November 10, 2018 at 4:57:54 PM UTC-5, Colin Law wrote:
>
> On Sat, 10 Nov 2018 at 21:28, fugee ohu >
> wrote:
> >
> >
> >
> > On Saturday, November 10, 2018 at 12:26:40 PM UTC-5, Colin Law wrote:
> >>
> >> On Sat, 10 Nov 2018 at 17:23, fugee ohu wrote:
> >> > ...
> >> > It
On Saturday, November 10, 2018 at 4:57:54 PM UTC-5, Colin Law wrote:
>
> On Sat, 10 Nov 2018 at 21:28, fugee ohu >
> wrote:
> >
> >
> >
> > On Saturday, November 10, 2018 at 12:26:40 PM UTC-5, Colin Law wrote:
> >>
> >> On Sat, 10 Nov 2018 at 17:23, fugee ohu wrote:
> >> > ...
> >> > It
1 - 100 of 115 matches
Mail list logo