in reply to Re^2: Running JavaScript from within Perl
in thread Running JavaScript from within Perl
Using GET /read/feed/$feed_url_or_id I can generate a web page containing the number of followers shown as "subscribers_count".
How do I read this page into a perl script? I tried HTML::TreeBuilder and got the error message:
https://public-api.wordpress.com/rest/v1/read/feed/http%3A%2F%2Fthe-art-of-autism.com%2Ffeed returned application/json not HTML
Should I use WWW::Mechanize::Chrome, JSON, JavaScript, or something else? How do I provide them input from a URL?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Running JavaScript from within Perl
by marto (Cardinal) on Sep 17, 2019 at 06:24 UTC | |
|
Re^4: Running JavaScript from within Perl
by bliako (Abbot) on Sep 17, 2019 at 08:50 UTC | |
by Anonymous Monk on Sep 17, 2019 at 09:16 UTC | |
by bliako (Abbot) on Sep 17, 2019 at 11:01 UTC |