Networking :: Grabbing Wiki Code Using WGet

Aug 2, 2010

I would like to grab wiki code from a wiki page using wget. Running this grabs HTML:
wget -O wikihtml.html [URL]
The first attempt at getting wiki code was to pretend to edit, and run:
wget -O wikiedit.html [URL]
but of course that grabs GUI HTML. I thought perhaps the text inside the text box would be in tact, but HTML is througout. How to get just the raw wiki code?

View 2 Replies


ADVERTISEMENT

Programming :: Java Code To Implement "wget" To Save A Webpage

Feb 24, 2010

This is the code i used, there is no error in execution but no file is bein saved in the working directory. I'm new in java,so just started learning.

public class Hel
{
public static void main(String args[])
throws IOException

[code]....

View 5 Replies View Related

Software :: Resume An Interrupted Wget Using Wget.log?

Jun 19, 2011

If a wget download is interrupted (like if I have to shutdown prematurely), I get a wget.log with the partial download. How can I later resume the download using the data in wget.log? I have searched high and low (including wget manual) and cannot find how to do this. Is it so obvious that I did not see it? The wget -c option with the wget.log as the argument to the -c option does not work. What I do do is open the wget.log and copy the URL and then paste it into the command line and do another wget. This works but the download is started from the beginning, which means nothing in the wget.log is used.

View 2 Replies View Related

Ubuntu :: Any Software For Grabbing The Video

Oct 3, 2010

is there any software for grabbing the videos even before it actually play back

View 2 Replies View Related

General :: Grabbing RE From String - Any Utility?

May 20, 2010

What's the best command to use to grab just a regular expression from some text input? I've got is some input is in the form:

<uninteresting><start-marker><good stuff><end-marker><uninteresting>

I can construct a RE to match <start-marker>.*<end-marker>, but is there a utility that would return *just* the <good stuff> I'm interested in? I realise that the alternative is something along the lines of:

Code:
cat <input-file> | awk -F'start-marker' 'print ${2}' | awk -F'end-marker' 'print ${1}'
but it would be better if I could do it all in one go.

View 5 Replies View Related

Ubuntu :: Grabbing Edge Of Windows When Resizing

Aug 17, 2010

I've got a basic install (i.e., nothing fancy, no compwiz or whatever) of 10.4 (64 bit) on my computer, running gnome desktop. I find it very difficult to "grab" the edge of a window, when I want to resize it longer or wider and frequently I just wind up selecting the window below it when I try to drag it wider or longer. Is there a way to increase the border area in which that arrow-pointing-to-edge (as opposed to the usual cursor) appears to make it easier to grab the damn thing?

View 2 Replies View Related

Ubuntu :: Script - Grabbing Variables From Output

Jun 9, 2011

I want to be able to grab some text from a directory listing in a bash script, and then apply that text to future commands in the same script. For instance, say I do "ls -lais /media/Movies" and get:

2147560409 712544 -rwxr-x--- 1 root users 729645056 1999-03-07 11:45 Young Guns (1987).avi
2147560410 712400 -rwxr-x--- 1 root users 729497600 2002-01-09 01:11 Young Guns II (1990).avi

Then say I want to grab the year from this output and then use that information as part of the command to modify the file timestamp, such as:

touch "Young Guns (1987).avi" -t 198701011200
touch "Young Guns II (1990).avi" -t 199001011200

So that the result of ls -lais is:

2147560409 712544 -rwxr-x--- 1 root users 729645056 1987-01-01 12:00 Young Guns (1987).avi
2147560410 712400 -rwxr-x--- 1 root users 729497600 1990-01-01 12:00 Young Guns II (1990).avi

Anyway, that's just one example, but I often find myself needing to do this type of thing, and I'm sure its possible, just not really done enough scripting recently to know how to do it.

View 5 Replies View Related

General :: Grabbing TTY Output From Remote Machine

Mar 24, 2011

Here's the scenario, rsync is running in RMT on tty2. I (LCL) am connected to RMT remotely as root over ssh. Is it possible to grab output of RMT's tty2 on my LCL? I don't want to redirect RMT's tty2 out to my pts, just get a mirror output.

View 6 Replies View Related

Ubuntu :: Grabbing Short Clip From Audio File

May 12, 2010

I've got a short mp3 file from the BBC's League of Gentlemen comedy show. In the clip, Papa Lazarou tells his dwarfs to put a poster in the local shop. Then he says "Tell them the circus is coming to town."I'd like to grab that sentence "Tell them the circus is coming to town" so I can make it into a ringtone for my phone or something.

View 1 Replies View Related

Programming :: Grabbing Window Content Requires Drawable

Apr 9, 2010

I'd like to write a C/C++ program, that would grab content of window (in form of pixmap), which belongs to another application and do something with it. However, I ran into problems already at the beginning. In all toolkits I have searched through, I only found one function that claims to do what I want, namely XGetImage from Xlib. However, among other parameters like Display, coordinates, etc., it requires a Drawable. How do I specify a Drawable, that would correspond to the window I want to grab content of? Is there any easier way to achieve this?

View 2 Replies View Related

Programming :: Graphical Dialog From Bash Without Grabbing Focus

Jun 28, 2009

I want to display an un-intrusive graphical dialog to notify the workstation user that a bash script has finished running. It should be "top level", so visible to the user when it appears but should not grab focus, so the user can continue working in the current window and dismiss the notification when convenient. Researching gdialog, xdialog, xmessage and zenity it seems none of them can do this; they all grab focus.

View 3 Replies View Related

Fedora Networking :: FC9 DNS - Cannot Yum Or WGet But Can Ping And Dig

Jan 13, 2009

For some reason some command line commands are unable to resolve urls, whereas other commands work as they should. I have checked most setting but am unable to find out what is wrong and am no closer to figuring out what and why.

[root@subzero ~]# yum update
Loaded plugins: refresh-packagekit
[URL]: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again
[root@subzero ~]# .....

View 11 Replies View Related

Networking :: Wget Can Access / Browser Cannot

Jun 27, 2010

I have been having a problem on my Ubuntu desktop with the wireless connection. I am now running Ubuntu 10.04, but the problem showed up immediately after upgrading to Ubuntu 9.10. This machine is used as a CUPS server so my wife can print from her laptop and get to a printer downstairs. Intermittently, I will be unable to access the CUPS server web pages (or any other web pages on the local Apache server) from a remote machine on the internal network. I also cannot connect in via SSH. However, from the wireless desktop itself the web pages are still accessible and a local browser can also access remote web sites just fine. So, the network connection is still up.

To try to determine how often this was happening, I wrote a simple Bash script that checked if a page could be accessed on the web server on the wireless machine. I used wget to access a page and then log the results to a file while running the script from a crontab entry. It turns out that even though I cannot access a web page using a remote browser, I can access the same web pages using wget from a remote machine. This has me a little confused..What could be causing this situation? I do not have a firewall running on the desktop with the wireless connection. After a while, the blockage of inbound web pages from a remote browser is "fixed" and I can again access the CUPS (and other) pages.

View 3 Replies View Related

Fedora Networking :: Ping But Can't Wget Etc - Complains Of DNS?

Aug 6, 2009

I have a pretty strange problem I can ping www.yahoo.com:

Code:
[root@localhost ~]# ping www.yahoo.com
PING www-real.wa1.b.yahoo.com (69.147.76.15) 56(84) bytes of data.
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=1 ttl=52 time=20.1 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=2 ttl=52 time=20.7 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=3 ttl=52 time=23.3 ms

[Code]...

View 7 Replies View Related

Ubuntu Networking :: Crontab And Wget With Terminal?

Sep 13, 2010

I used the crontab to start wget and download the file with the following

Quote:

14 02 * * * wget -c --directory-prefix=/home/Downloads/wget --input-filefile=/home/Downloads/wget/download.txt

But it doesn't shows a terminal and so not able to get the current status and stop wget. So how can I start wget with a terminal using crontab?

View 1 Replies View Related

Networking :: Curl And Wget Error 400 Bad Request?

Nov 9, 2010

I use slackware current, and curl and wget give the following errors:

Code:
repo@cannabis ~]$ wget -r http://users.telenet.be/reggersjans
--2010-11-09 13:48:14-- http://users.telenet.be/reggersjans
Resolving users.telenet.be (users.telenet.be)... ::ffff:74.117.221.11, 74.117.221.11
Connecting to users.telenet.be (users.telenet.be)|::ffff:74.117.221.11|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request

[Code]...

View 7 Replies View Related

Networking :: Yum Install / Update And WGet Do Not Work

May 6, 2010

I have a CentOS 5 server running as a web server. The web services are okay. Ping, ssh work fine both ways. But when I try to wget or yum update or install, I get a timeout. The URLs are resolving properly. And there's no difference if IPtables is turned off or on.

View 2 Replies View Related

Ubuntu Networking :: Wget Failed To Download Image From URL?

Jan 21, 2011

I tried to download some images from google using wget:where wget cbk0.google.com/cbk?output=tile&panoid=2dAJGQJisD1hxp_U0xlokA&zoom =5&x=0&y=0However, I get the following erros:

--2011-01-21 04:39:05-- http://cbk0.google.com/cbk?output=tile
Resolving cbk0.google.com... 209.85.143.100, 209.85.143.101
Connecting to cbk0.google.com|209.85.143.100|:80... connected.

[code]....

View 3 Replies View Related

CentOS 5 Networking :: Transactions Timeout - Yum / Wget And HTTP

Apr 28, 2011

I am having a problem with 5.4 that I did not have with 4.5. The problem happens only sometimes but in specific instances. Basically a summary of the problem is that certain network transactions timeout. The specific instances are with wget, rpm, http. The problem usually, but not always, occurs with pptp stuff. (NOT running pptp but getting pptp stuff). For instance, the following command, which finishes in seconds on non-5.4 OS's:
wget [URL]
downloads about 20% then gets stuck. About 5 minutes later it downloads another 20% and then gets stuck, etc. The same thing with rpm:
rpm -ivh [URL]
waits about 3 minutes and then gives an error. I think it does the same thing as the wget but
wget will keep trying, while rpm gives up. The error from rpm:
Retrieving [URL]
..five minutes later:

I can wget the above as I mentioned before and install it that way. Before I do it, yum works fine. Afterwards, yum exhibits the same behavior of timing out (because it is using the pptp repository). Also visiting the pptp web site from Firefox times out on certain pages. I originally thought it was some problem with the pptp site, but I notice that log into hotmail.com. Does the same thin (fine on other operating systems). A view with Wireshark on the wget (pptp) shows the my machine receiving a reassembled TCPPDU from 216.34.181.96 (Sourceforge), sending an ack, receiving a reassembled PDU, sending an ack, receiving, sending followed by the 5 minutes or whatever of nothing. Then sourceforge sends an RST and a SYN and the process is repeated.

When I put the machine directly on an AT&T IP connection (12.147.X.Y) everything worked fine. Same with Comcast on a direct link. The times I am having problems is when our router is hooked up to a Comcast IP (70.88.X.Y) and assigns 192.168.5.X addresses to our machines. So when I was doing the above from 192.168.5.27 going through the router through Comcast is when I had the problem. So it is probably something with the router, but it is hard to figure out since CentOS 4.5 and Fedora do not exhibit this behavior, nor does 5.4 on most sites (mail.yahoo.com for instance). I did verify, at least from what I could, that ICMP type 3 and 4 are not being blocked. If they were, the same problem would happen on other op systems. And I was able to ping, albeit just locally, but we looked at the router settings and ping was not blocked.

View 1 Replies View Related

Networking :: See Whether Wget Can Be Used To Generate Actual Url Hits On A Webpage?

Jan 16, 2011

I am trying to see whether wget can be used to generate actual url hits on a webpage. This does not look good so far�. I changed the following lines in /etc/wgetrc to:

Code: http_proxy=http : / /<proxy_ip>:<port>/ use_proxy on Output :

Code: root# wget -c <url>/ > /dev/null
--2011-01-16 12:26:38-- <url>
Connecting to <proxy_ip>:<port>... connected.

[code]....

2011-01-16 12:26:39 (88,9 KB/s) - `index.html.3' saved [50548] This does NOT generate a hit on the actual web page! It does not seem like the, > /dev/null part is working either... How can I get this to work?

View 4 Replies View Related

Networking :: Can Ping But Can't Wget / Strange Network Behavior

Apr 28, 2011

I have a small ARM machine running an Arch linux variant, PlugApps. It was set up and working fine at my home, with a standard networking setup -- cable modem and router. I could do pretty much anything I needed to access the net fine.This machine is a remote monitoring system for another location. I shipped it to that location and am now trying to get it set up using another set of hands on site. There it is on the network behind a dsl modem and a router. I forwarded ports from the dsl modem to the router and from the router to the ARM computer.

In both cases the ARM machine is/was configured to use dhcp.So here's the deal:I can ssh into the ARM machine just fine.I can ping hosts on the wan fine (eg: stanford.edu).BUT:wget fails for not being able to resolve a valid address (eg: http://checkip.dyndns.org)the PlugApps package management system (pacman) cannot resolve the repository address the openntp time sync isn't working On the new network, I am able to connect to another client windows PC which has the same associated network info (Bcast address, Mask, etc. - comparing windows "ipconfig" vs linux "ifconfig" outputs) but which can resolve addresses for web browsing, etc.What am I missing? If it can resolve addresses for pings, why can't it work for other address requests? If I can ssh interact with it, why can't it connect to the net for other purposes?

View 1 Replies View Related

CentOS 5 Networking :: Wget To Domain Hosted On Same Server?

Sep 23, 2009

I'm debugging some kind of a SOAP problem. I can use wget for any domain I want, besides domains that are hosted on the server itself.

What could it be? Centos firewall & selinux are turned off.

(domains / ips removed from code)

[root@http1 ~]# wget http://www.google.com
--12:09:53-- http://www.google.com/
Resolving www.google.com... 74.125.93.103, 74.125.93.104, 74.125.93.105, ...
Connecting to www.google.com|74.125.93.103|:80... connected.

[Code].....

View 4 Replies View Related

Ubuntu :: Wiki Massive Deletion ?

Feb 28, 2010

Somebody, without saying anything to us, has deleted (not moved) a lot of wiki pages for laptop testing and setup guide. A lot of people were working hardly to document as best as possible each laptop computer to configure Ubuntu GNU/Linux.

Here follows a list with only a few of the lost pages:

[url]
[url]
[url]
[url]

View 9 Replies View Related

Programming :: Copy The Article From Wiki Using Php?

Feb 1, 2011

I just want to copy the content from Wikipedia. Daily i want to do it. But this should be done automatically. can anyone tel me how to do this in php? is there any function to copy the content of any article?

View 1 Replies View Related

Software :: Set A Wiki System Using PhpWiki?

Apr 19, 2010

I'm tryin' to set a wiki system using phpWiki (Debian Squeezy + PHP5).I'm having two issues:1) When using Firefox (3.6) or Internte Explorer, if I load the "home page", http://myHost/phpwiki/(I put php under /var/www/phpwiki directory) the browser ask if I want to download the file.If I use another browser (ex Midori or Arora) the php works and display de home page.Am I missing something with the Apache or phowiki config.? If I use a test php page works ok both with Firefox or IE.2) In phpwiki config I selected $LANG="es" in order to use spanish language. But it didn't work up to now.

View 2 Replies View Related

Programming :: Copy Article From Wiki Using Php?

Feb 1, 2011

I just want to copy the content from Wikipedia. Daily i want to do it. But this should be done automatically. can anyone tel me how to do this in php? is there any function to copy the content of any article?

View 3 Replies View Related

CentOS 5 :: Download Wiki For Use Offline?

May 12, 2009

I am away for two weeks in a Internet free zone - unless I can get it back on - I would like to download the wiki, if possible to browse and try new things. I can update my comp, but will need to take it to a friends to connect.

View 1 Replies View Related

Debian :: Install Virtualbox-ose Using The Wiki Page?

Apr 10, 2011

I was trying to install virtualbox-ose using the wiki page on debian.org and following the installation instructions for squeeze! But in the installation process, I saw this error: No suitable module for running kernel found . And when I try to run virtualbox nothing happens! I'm using this kernel: 2.6.32-5-686. I tried re-installing use the deb package from the virtualbox website but I had the same error. Does anyone had this before? any ideas on how to correctly configure it ?

View 4 Replies View Related

Ubuntu :: Setup MediaWIki As Personal Wiki (pim)?

Jul 15, 2010

I have changed to ubuntu a few months ago from windows, where I used to have a mediawiki set up on a local server. This wiki was used for notes, archiving, document management, file storage, calendaring, almost everything that most people do with a normal directory tree on their drives.

Unfortunately, I have not yet managed to install a local media wiki on my ubuntu 10.04 LTS system so far. I have tried it once and messed up the php-stuff so badly that I had to reinstall the entire system in order for it to work in a acceptable speed.

how to set up a current version mediawiki (or an older version, if that's the only chance) as a local wiki in 10.04 LTS? There is no network access to the wiki, just local access using a firefox browser on the machine where it is installed.

View 1 Replies View Related

Software :: Major Re-edit Of MythTV Wiki Going On?

Sep 14, 2010

I was looking at the MythTV wiki to look at possible developments related to some troublesome hardware of mine, and I noticed that all the tuner card pages are being removed...

The message reads "clearing out local tuner pages" ...

There are significant pieces of information that are being removed... Some of which are not present on the wikis for related projects (like IVTV).

Does anyone know; Is this an official edit?!

Also the MythTV.org home page is looking pretty.

Is there something going on within the MythTV developer community?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved