ptaylor Wrote:You should be able to pick them out of a tcpdump when viewing a video via a browser. I did so last night with wireshark. I was thinking that perhaps something could be automated to learn the pids and store them in a central database.
Here's a Wireshark display filter that will help you get the pid:
http.request.method == "GET" and http.request.uri contains "pid="
As whirlwind mentioned, you can also use the Live HTTP Headers plugin for Firefox and search through all the headers for "pid=".
As an aside, if you're looking to download Hulu videos (as opposed to streaming them from XBMC, which is what this thread is about), you can get rtmpdump and edit the get_hulu Perl script to either hardcode the pid or take the pid as a parameter for the particular video you want.