[repo.or.cz] nomnom.git branch next updated: v0.2.0-4-gc808a1a
Brought to you by:
legatvs
|
From: <nom...@li...> - 2011-10-22 08:45:48
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project nomnom.git.
The branch, next has been updated
via c808a1aea94ca131ee78eddb1ff76d1a47127f19 (commit)
via e274497c7211c7c7d10e587c389cb50770ee58dd (commit)
from 587399e1d3bbee37e0ec72644d2186aabadca5e2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/nomnom.git/commit/c808a1aea94ca131ee78eddb1ff76d1a47127f19
commit c808a1aea94ca131ee78eddb1ff76d1a47127f19
Author: Toni Gundogdu <le...@gm...>
Date: Sat Oct 22 11:29:07 2011 +0300
Revise manual
* Add user-agent to "known issues"
diff --git a/doc/man1/nomnom.1.pod b/doc/man1/nomnom.1.pod
index 8561efb..1a15303 100644
--- a/doc/man1/nomnom.1.pod
+++ b/doc/man1/nomnom.1.pod
@@ -1,6 +1,3 @@
-
-=pod
-
=head1 NAME
NomNom - The graphical media download tool
@@ -122,24 +119,40 @@ The YouTube C<fmtNN> string IDs are documented at:
=head2 Resuming partially transferred files may fail
Some websites are known to refuse to work with the HTTP requests to
-resume a file transfer. Either check "Always overwrite existing media
-files" in the settings or remove the existing file manually.
+resume a file transfer.
+
+=head3 Workaround
+
+Either check "Always overwrite existing media files" in the settings
+or remove the existing file manually.
+
+=head2 HTTP user-agent
+
+Some websites refuse to play nice with renegade user-agent strings.
-=head2 Using of HTTP proxies
+=head3 Recommendations
-If you use an HTTP proxy, please make sure you have configured all of
-the commands that NomNom uses (see C<settings> and open C<commands>) to
-use the same proxy. Some websites refuse to work with requests coming
-from different sources (IP addresses) trying to access the same
-media stream URL which is may be unique to an IP address.
+Make sure both C<quvi(1)> and C<curl(1)> use the same user-agent string.
+Note that C<quvi(1)> uses "Mozilla/5.0" by default.
+
+=head2 HTTP proxy
+
+Generally OK, although some proxies may have been configured to
+C<cook up> the HTTP headers before they are sent back to the server.
+This may sometimes lead to issues with the servers.
+
+=head3 Recommendations
+
+If you use an HTTP proxy, make sure you have configured all of the commands
+that NomNom uses (e.g. C<quvi(1)>, C<curl(1)>, etc.) to use the same proxy.
=head1 TIPS
=head2 Use configuration files
Although it is possible to configure custom commands for NomNom to use
-(via C<settings> and C<commands>), another way is to add appropriate
-configuration files for the commands that NomNom uses.
+(via C<settings> and C<commands>), another way is to add/edit the appropriate
+configuration files for these commands.
=head3 Examples
@@ -147,15 +160,15 @@ configuration files for the commands that NomNom uses.
~/.umphrc ;# refer to the umph(1) documentation
~/.curlrc ;# refer to the curl(1) documentation
-Same goes for whatever media player you choose to use.
+Same goes for whatever media player you choose to use with NomNom.
=head1 FILES
=head2 Configuration file
The location of this file may vary and depends on how Qt was configured.
-You can use the C<--config-path> program option to print it, if you are
-not sure. See also L</COMMAND LINE>.
+You can use the C<--config-path> program option to print it. See also
+L</COMMAND LINE>.
=head1 LICENSE
@@ -168,4 +181,7 @@ NomNom is free software, licensed under the GPLv3+.
=head1 AUTHOR
-Toni Gundogdu <legatvs at sign gmail com>
+Toni Gundogdu E<lt>legatvs at sign gmail comE<gt>
+
+Thanks to all those who have contributed to the project by sending
+patches, reporting bugs and writing feedback. You know who you are.
http://repo.or.cz/w/nomnom.git/commit/e274497c7211c7c7d10e587c389cb50770ee58dd
commit e274497c7211c7c7d10e587c389cb50770ee58dd
Author: Toni Gundogdu <le...@gm...>
Date: Sat Oct 22 11:41:17 2011 +0300
Add user-agent to curl args
Use the same (default) user-agent string with quvi(1) and curl(1). Some
websites refuse to work with renegade strings.
diff --git a/src/detect/ndetect.cpp b/src/detect/ndetect.cpp
index 58eeab7..5dbbf86 100644
--- a/src/detect/ndetect.cpp
+++ b/src/detect/ndetect.cpp
@@ -105,7 +105,7 @@ static const struct _lookup_s lookup_feed_parsers[] =
static const struct _lookup_s lookup_downloaders[] =
{
- {"curl", "-L -C - -o %f %u"},
+ {"curl", "-L -C - -o %f %u --user-agent Mozilla/5.0"},
{NULL, NULL}
};
diff --git a/src/settings/nsettingsdialog_commands.cpp b/src/settings/nsettingsdialog_commands.cpp
index edd4be5..9523d6c 100644
--- a/src/settings/nsettingsdialog_commands.cpp
+++ b/src/settings/nsettingsdialog_commands.cpp
@@ -156,7 +156,8 @@ NSettingsCommands::NSettingsCommands(QWidget *parent/*=NULL*/)
&downloadUsingCombo,
&downloadUsingEdit,
SLOT(downloadUsingChanged(QString)),
- tooltip(SpecU|SpecF, "curl -L -C - -o %f %u")
+ tooltip(SpecU|SpecF,
+ "curl -L -C - -o %f %u --user-agent Mozilla/5.0")
);
detect_type(Downloader, downloadUsingCombo);
-----------------------------------------------------------------------
Summary of changes:
doc/man1/nomnom.1.pod | 50 +++++++++++++++++++----------
src/detect/ndetect.cpp | 2 +-
src/settings/nsettingsdialog_commands.cpp | 3 +-
3 files changed, 36 insertions(+), 19 deletions(-)
repo.or.cz automatic notification. Contact project admin le...@gm...
if you want to unsubscribe, or site admin ad...@re... if you receive
no reply.
--
nomnom.git ("The graphical media download tool")
|