Did I find the right examples for you? yes no

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)
Class to manage links from url.

Created on 27/09/2012

@author: Ricardo García Fernández
@mail: ricardogarfe@gmail.com

src/r/i/ricardo_crawler-01.00.01/ricardo_crawler.py   ricardo_crawler(Download)
 
import argparse
from controllers.http_links_collector import HttpLinksCollector
import logging
import json
        level = 1
        links = {}
        http_links_collector = HttpLinksCollector(target_url)
 
        links_list = http_links_collector.\

src/r/i/ricardo_crawler-01.00.01/test/controllers/TestHttpLinksCollector.py   ricardo_crawler(Download)
 
import unittest
from controllers.http_links_collector import HttpLinksCollector
 
class TestHttpLinksCollector (unittest.TestCase):
            "http://www.nature.com/nature/journal/v438/n7070/full/438900a.html"
 
        http_links_collector = HttpLinksCollector(starting_url)        
        links_retrieved = http_links_collector.retrieve_links(target_url)
 
        target_url = "irc://irc.freenode.net/wikimedia-ayuda"
 
        http_links_collector = HttpLinksCollector(starting_url)        
        links_retrieved = http_links_collector.retrieve_links(target_url)