5 ms·
>two liner to scrape a web page, parse it and call a REST endpoint with the parsed data as JSON in PowerShell Can you post this 2 liner? Sounds interesting.
by jfuhrman 11y ago
>two liner to scrape a web page, parse it and call a REST endpoint with the parsed data as JSON in PowerShell
Can you post this 2 liner? Sounds interesting.
- wumbernang 11y agoI can't post the one-liner as it's earning me a shit ton of cash every month but in concept it's the same as what I've posted here: https://news.ycombinator.com/item?id=9649090 https://news.ycombinator.com/item?id=9649090
- artursapek 11y agoHow can two lines of code be earning you shit tons of cash? Can you show it if you swapped out specific details with generic placeholders (which page you're parsing, which endpoint you're hitting)?
- wumbernang 11y agoIt merely exploits some fundamental differences on how humans operate between two markets and turns that into real-time information for me on which I can make trade decisions. This isn't stocks, shares, futures etc for ref either. I don't want to say any more nor post any code as it's unique and a good earner at the moment.
- artursapek 11y agoUnderstandable. Sounds really interesting.
- pbowyer 11y ago> It merely exploits some fundamental differences on how humans operate between two markets and turns that into real-time information for me on which I can make trade decisions. Now that's teasing ;)
- the_af 11y ago> It merely exploits some fundamental differences on how humans operate between two markets and turns that into real-time information for me on which I can make trade decisions Let me guess: arbitrage applied to sports gambling. Wink my way if I'm on the right track.
- wumbernang 11y agoNo wink. Doesn't involve betting. Although that's a good idea :)
- deleted 11y ago[deleted]
- gloriousduke 11y agoI feel as if this comment is an exemplar of Microsoft itself.
- wumbernang 11y agoI wouldn't post the old python version of it (using urllib2, BeautifulSoup) that ran on a Linode Debian VM either for reference.