Sponsored Content
Top Forums Shell Programming and Scripting Performance Metrics using wget Post 302514002 by Corona688 on Thursday 14th of April 2011 01:17:58 PM
Old 04-14-2011
Quote:
Originally Posted by rob171171
so when I run
Code:
 /usr/bin/wget www.youtube.com/watch?v-qxd2vXrZ5pk

it should take same time to stream, i.e 1m 32 secs however the reposne i get back in my log file takes about 2-3 secs
That gets the webpage. The streaming content isn't part of the document, the same way files linked by
Code:
<img src="http://path/to/whatever.jpg">

tags aren't -- it's somewhere else.

Unfortunately the element between the webpage and the streaming content isn't a simple src="path/to/video.flv" but handled obscurely through Adobe Flash Player via means I don't entirely understand. Not always the same means either, it seems to change sometimes(probably to break youtube downloader programs)... Most youtube downloaders get the URL from the web browser itself, since the browser has to be told it one way or another to download it...

Last edited by Corona688; 04-14-2011 at 02:26 PM..
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix Metrics

Hi, Does anyone know of any programs that can create Unix (Solaris) server metrics such as server uptime, services uptime, processor utilization by hour by day, memory utilization by hour by day, active users by hour by day, etc? Thanks! (2 Replies)
Discussion started by: ghuber
2 Replies

2. UNIX for Advanced & Expert Users

I/O Stats Metrics

What do others use for measuring I/O statistics? I'd like something versatile, as in being able to watch (like iostat, but easier to trend), generate load (like iozone, but more realistic), and perform somewhat generalized benchmarks (like bonnie, but more current.) It would scale from a few... (0 Replies)
Discussion started by: LivinFree
0 Replies

3. UNIX for Dummies Questions & Answers

Comparator or metrics tool - options

Hi all, I am looking for some open source comparator or metrics generator kind of tool. I am sure this is not something new that am asking and probably some of you would have already made use of that in your daily work. ... (2 Replies)
Discussion started by: matrixmadhan
2 Replies

4. Linux

wget performance

I am looking for a way to measure performance metrics of streaming audio/video from a contecnt server, e.g. YouTube for example. Im keen to see if I can look at duration it took for contecnt to download. I know from the output of wget's log file you can see duration a url is downloaded in.... (6 Replies)
Discussion started by: rob171171
6 Replies

5. AIX

Performance metrics between Dual Storage IOA versus other drive configurations

Greetings! We ordered a bunch of P7s as part of a hardware upgrade and I was made aware of the Dual Storage IOA configuration. This is something we hadn't fully considered and I was wondering if anyone had done any performance tests using this setup. All our IBM rep told us was "it's slower" and... (1 Reply)
Discussion started by: Mike Brendan
1 Replies

6. AIX

Help Analyzing AIX System Metrics

Hi Guys, I need some help analyzing the attached metrics. System context is 2 LPAR's in a P795 running WebSphere App Server across 4 nodes (2 on each LPAR). Over the weekend both LPAR's lost power and upon re-start the application server response times have degraded by 25-30% for no obvious... (1 Reply)
Discussion started by: mgburns
1 Replies

7. Shell Programming and Scripting

Wget - working in browser but cannot download from wget

Hi, I need to download a zip file from my the below US govt link. https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP I only have wget utility installed on the server. When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
WebService::YouTube::Videos(3pm)			User Contributed Perl Documentation			  WebService::YouTube::Videos(3pm)

NAME
WebService::YouTube::Videos - Perl interface to youtube.videos.* VERSION
This document describes WebService::YouTube::Videos version 1.0.3 SYNOPSIS
use WebService::YouTube::Videos; my $api = WebService::YouTube::Videos->new( { dev_id => YOUR_DEV_ID } ); # Call API youtube.videos.list_featured my @videos = $api->list_featured; foreach my $video (@videos) { # $video->isa('WebService::YouTube::Video'); } # Call other APIs my @videos = $api->list_by_user($user); my @videos = $api->list_by_tag($tag); my $video = $api->get_details($video_id); # Parse XML my @video = $api->parse_xml($xml); # when $xml contains <video_list> my $video = $api->parse_xml($xml); # when $xml contains <video_details> DESCRIPTION
This is a Perl interface to YouTube REST API. See Developer APIs <http://youtube.com/dev> and Developer API -- REST Interface <http://youtube.com/dev_rest> for details. SUBROUTINES
/METHODS new(\%fields) Creates and returns a new WebService::YouTube::Videos object. %fields can contain parameters enumerated in "ACCESSORS" section. parse_xml($xml) Parses XML and returns the result. $xml should be an object that XML::Simple can understand. get_details( $video_id ) Returns a WebService::YouTube::Video object. $video_id is an ID of the video which you want to get details. See <http://youtube.com/dev_api_ref?m=youtube.videos.get_details> for details. list_by_tag( $tag, \%fields ) Returns an array of WebService::YouTube::Video object. $tag is a keyword string separated by a space. %fields can contain the optional parameters. page 1 <= page per_page per_page <= 100 (default 20) See <http://youtube.com/dev_api_ref?m=youtube.videos.list_by_tag> for details. list_by_user( $user ) Returns an array of WebService::YouTube::Video object. $tag is a keyword string separated by a space. %fields can contain optional parameters. See <http://youtube.com/dev_api_ref?m=youtube.videos.list_by_user> for details. list_featured( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/dev_api_ref?m=youtube.videos.list_featured> for details. ACCESSORS dev_id Developer ID ua LWP::UserAgent object DIAGNOSTICS
dev_id is required Developer ID is required when you call API of YouTube. invalid XML The XML is not a YouTube's XML. unknown response The ut_response is neither <video_list> nor <video_details>. CONFIGURATION AND ENVIRONMENT
WebService::YouTube::Videos requires no configuration files or environment variables. DEPENDENCIES
Class::Accessor::Fast, LWP::UserAgent, XML::Simple, WebService::YouTube::Util, WebService::YouTube::Video INCOMPATIBILITIES
None reported. BUGS AND LIMITATIONS
No bugs have been reported. Please report any bugs or feature requests to "bug-webservice-youtube@rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-YouTube>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. AUTHOR
Hironori Yoshida <yoshida@cpan.org> LICENSE AND COPYRIGHT
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. perl v5.10.1 2010-08-01 WebService::YouTube::Videos(3pm)
All times are GMT -4. The time now is 04:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy