This is all very good but it would be a heck of a lot more useful as an issue 
or pull request at https://github.com/finance-quote/finance-quote.

Regards,
John Ralls

> On Mar 18, 2021, at 10:35 PM, Peter West <p...@pbw.id.au> wrote:
> 
> It works because there is now a linebreak in there within the text of the 
> -0.21%. I wouldn’t rely on that.
> 
> Change the RE to
> 
> m[<td class="line heading">NAV<span class="heading"><br 
> />([0-9]{2}/[0-9]{2}/[0-9]{4})</span>.*([A-Z]{3}).([0-9\.]+).*Day 
> Change[^%]*>([0-9\.\-]+)]
> 
> to stop the first ‘.*’ at ‘Day Change, and to stop the second ‘.*’ before it 
> gobbles a % sign. Basically, you insert 'Day Change[^%]*’ after the ‘.*’ and 
> before the ‘>’.
> 
> Peter
> —
> p...@ehealth.id.au
> “…you refuse to come to me that you may have life.”
> 
>> On 19 Mar 2021, at 11:18 am, Geoff <cleanoutmys...@gmail.com> wrote:
>> 
>> Hi Peter
>> 
>> This is the URL:
>> 
>> https://www.morningstar.co.uk/uk/funds/snapshot/snapshot.aspx?id=f0gbr04aoc
>> 
>> Note that Morningstar use their own Security IDs (f0gbr04aoc), the initial 
>> lookup is via ISIN (LU0067412154) done from here:
>> 
>> https://www.morningstar.co.uk/uk/funds/SecuritySearchResults.aspx?search=LU0067412154
>> 
>> Hope this helps.
>> 
>> Regards
>> 
>> Geoff
>> =====
>> 
>> On 19/03/2021 11:00 am, Peter West wrote:
>>> Can you provide the html again, as is, without any inserted linefeeds?
>>> Peter
>>> —
>>> p...@ehealth.id.au
>>> “…you refuse to come to me that you may have life.”
>>>> On 19 Mar 2021, at 3:45 am, Andrea Borgia <and...@borgia.bo.it> wrote:
>>>> 
>>>> Il 18/03/21 14:41, D. via gnucash-user ha scritto:
>>>>> Well, considering that the NAV in the example is "USD 2150.31" and the 
>>>>> 5366.43 in the example actually represents the fund size, I'd imagine you 
>>>>> should get the former as the NAV.
>>>>> 
>>>> Yes, and at the moment it is working again.
>>>> 
>>>> In the attached screenshot, first two runs are from the time of the 
>>>> original post and the third one just now.
>>>> 
>>>> 
>>>> <Istantanea_2021-03-18_18-43-42.png>
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user@gnucash.org
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> If you are using Nabble or Gmane, please see 
>>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to