Saturday, September 28, 2013

Visual Web Ripper: Using External Input Data Sources

Sometimes it is necessary to use external data sources to provide parameters for the scraping process. For example, you have a database with a bunch of ASINs and you need to scrape all product information for each one of them. As far as Visual Web Ripper is concerned, an input data source can be used to provide a list of input values to a data extraction project. A data extraction project will be run once for each row of input values.

An input data source is normally used in one of these scenarios:

    To provide a list of input values for a web form
    To provide a list of start URLs
    To provide input values for Fixed Value elements
    To provide input values for scripts

Visual Web Ripper supports the following input data sources:

    SQL Server Database
    MySQL Database
    OleDB Database
    CSV File
    Script (A script can be used to provide data from almost any data source)

To see it in action you can download a sample project that uses an input CSV file with Amazon ASIN codes to generate Amazon start URLs and extract some product data. Place both the project file and the input CSV file in the default Visual Web Ripper project folder (My Documents\Visual Web Ripper\Projects).

For further information please look at the manual topic, explaining how to use an input data source to generate start URLs.


Source: http://extract-web-data.com/visual-web-ripper-using-external-input-data-sources/

Thursday, September 26, 2013

Using External Input Data in Off-the-shelf Web Scrapers

There is a question I’ve wanted to shed some light upon for a long time already: “What if I need to scrape several URL’s based on data in some external database?“.

For example, recently one of our visitors asked a very good question (thanks, Ed):

    “I have a large list of amazon.com asin. I would like to scrape 10 or so fields for each asin. Is there any web scraping software available that can read each asin from a database and form the destination url to be scraped like http://www.amazon.com/gp/product/{asin} and scrape the data?”

This question impelled me to investigate this matter. I contacted several web scraper developers, and they kindly provided me with detailed answers that allowed me to bring the following summary to your attention:
Visual Web Ripper

An input data source can be used to provide a list of input values to a data extraction project. A data extraction project will be run once for each row of input values. You can find the additional information here.
Web Content Extractor

You can use the -at”filename” command line option to add new URLs from TXT or CSV file:

    WCExtractor.exe projectfile -at”filename” -s

projectfile: the file name of the project (*.wcepr) to open.
filename – the file name of the CSV or TXT file that contains URLs separated by newlines.
-s – starts the extraction process

You can find some options and examples here.
Mozenda

Since Mozenda is cloud-based, the external data needs to be loaded up into the user’s Mozenda account. That data can then be easily used as part of the data extracting process. You can construct URLs, search for strings that match your inputs, or carry through several data fields from an input collection and add data to it as part of your output. The easiest way to get input data from an external source is to use the API to populate data into a Mozenda collection (in the user’s account). You can also input data in the Mozenda web console by importing a .csv file or importing one through our agent building tool.

Once the data is loaded into the cloud, you simply initiate building a Mozenda web agent and refer to that Data list. By using the Load page action and the variable from the inputs, you can construct a URL like http://www.amazon.com/gp/product/%asin%.
Helium Scraper

Here is a video showing how to do this with Helium Scraper:


The video shows how to use the input data as URLs and as search terms. There are many other ways you could use this data, way too many to fit in a video. Also, if you know SQL, you could run a query to get the data directly from an external MS Access database like
SELECT * FROM [MyTable] IN "C:\MyDatabase.mdb"

Note that the database needs to be a “.mdb” file.
WebSundew Data Extractor
Basically this allows using input data from external data sources. This may be CSV, Excel file or a Database (MySQL, MSSQL, etc). Here you can see how to do this in the case of an external file, but you can do it with a database in a similar way (you just need to write an SQL script that returns the necessary data).
In addition to passing URLs from the external sources you can pass other input parameters as well (input fields, for example).
Screen Scraper

Screen Scraper is really designed to be interoperable with all sorts of databases. We have composed a separate article where you can find a tutorial and a sample project about scraping Amazon products based on a list of their ASINs.


Source: http://extract-web-data.com/using-external-input-data-in-off-the-shelf-web-scrapers/

Wednesday, September 25, 2013

Scraping Amazon.com with Screen Scraper

Let’s look how to use Screen Scraper for scraping Amazon products having a list of asins in external database.

Screen Scraper is designed to be interoperable with all sorts of databases and web-languages. There is even a data-manager that allows one to make a connection to a database (MySQL, Amazon RDS, MS SQL, MariaDB, PostgreSQL, etc), and then the scripting in screen-scraper is agnostic to the type of database.

Let’s go through a sample scrape project you can see it at work. I don’t know how well you know Screen Scraper, but I assume you have it installed, and a MySQL database you can use. You need to:

    Make sure screen-scraper is not running as workbench or server
    Put the Amazon (Scraping Session).sss file in the “screen-scraper enterprise edition/import” directory.
    Put the mysql-connector-java-5.1.22-bin.jar file in the “screen-scraper enterprise edition/lib/ext” directory.
    Create a MySQL database for the scrape to use, and import the amazon.sql file.
    Put the amazon.db.config file in the “screen-scraper enterprise edition/input” directory and edit it to contain proper settings to connect to your database.
    Start the screen scraper workbench

Since this is a very simple scrape, you just want to run it in the workbench (most of the time you want to run scrapes in server mode). Start the workbench, and you will see the Amazon scrape in there, and you can just click the “play” button.

Note that a breakpoint comes up for each item. It would be easy to save the scraped details to a database table or file if you want. Also see in the database the “id_status” changes as each item is scraped.

When the scrape is run, it looks in the database for products marked “not scraped”, so when you want to re-run the scrapes, you need to:

UPDATE asin
SET `id_status` = 0

Have a nice scraping! ))

P.S. We thank Jason Bellows from Ekiwi, LLC for such a great tutorial.



Source: http://extract-web-data.com/scraping-amazon-com-with-screen-scraper/

Tuesday, September 24, 2013

Frequent Itemset Challenge in Data Mining

In Business Intelligence (and in data mining in general) a regular need is to be able to find the items that frequently go together in a consumer basket.
Problem description

A common itemset problem is to mine a set of items to find a subset of those which have a close connection between them. A good example are the bottles of ketchup that are often located beside spaghetti shelves in some grocery stores. Those items appear together frequently in a consumer basket. Any set of items that regularly appear together in many baskets is said to be frequent.

When mining those data, we could use this algorithm to define and then recommend items of purchase for a buyer (consider some popups that appear after you complete an online purchase). Knowing that A and B are a frequent itemset, why not recommend item B to a user who buys item A. With a bit of data mining and further application of these frequent data sets in marketing, the total revenue has increased up to 30%.
Challenge

The challenge in this problem is the amount of data to be processed in memory and engines load. Having a set of N items per basket, there would be N!/2!(N-2)! pair combinations of items to check. First it would have to store all these combinations for all baskets and second to iterate through all of them to find the frequent pairs.
The Apriori algorithm helps

The Apriori algorithm is that “if a pair of items is to be frequent, each individual item should also be frequent“. Following the Apriori algorithm, the number of sets will be greatly reduced resulting in the reduction of computation resources as well.
Solution to find frequent sets

To establish a “threshold” we must define what is or is not frequent in the algorithm. Having an item appear more than “threshold”= X times in baskets, defines it as frequent.
Apriori algorithm implementation

    Pass over each item in each basket, and calculate its frequency (count how many time each one appears). This can be done with a hash, where the position of the hash, refers to the frequency ‘Y’. If an item has a frequency greater than X, it is considered to be frequent. Y (position) > X (threshold).

    Process in order to iterate only through the individually frequent items, computing the frequency of pairs of those items. So if item 1 and item 2 are frequent in themselves, we then compute the frequency of the pair. Once this is calculated, the frequencies greater than the threshold are said to be a frequent itemset.

Having used the Apriori algorithm, even if 50% of the items below threshold are sifted out, the computation load decreases as well as the memory consumption by a factor of 4.



Source: http://extract-web-data.com/frequent-itemset-challenge-in-data-mining/

Monday, September 23, 2013

How Does Outsourced Data Entry Services Help Companies Save Time

Data entry services provided by a competent BPO company can help companies save time compared to doing it in-house. The in-house workload can be simplified to a great extent with the help of reliable companies. Whether it is alpha numeric entry or simple text entry, in-house management takes a lot of time, because the task is a very tedious one. Nowadays, a variety of back office services are available and many of them are specialized in multiple industries such as insurance, legal and the medical industry.

Reasons to Opt for Data Entry Outsourcing

    Save time

As mentioned earlier, managing such processes in-house is a time-consuming task. When it is outsourced, businesses get some more time to devote to core activities. Businesses can taste success even in this era of competition with the support of a reputable company.

    Availability of expertise

Staff providing service in these companies have specific skills which allow for expert delivery

    Specialists with required skill set
    Fluency in the English language if the work is outsourced to another country
    Good typing speed and good keyboard skills
    Ability to work with different software and different formats
    Ability to comprehend different handwritings if required
    Resources can be reassigned or reduced data entry is outsourced

Not only is time saved when you outsource, but also resources. When data entry is done in-house, additional office space is required for setting up infrastructure and managing data. Then, you need to invest in additional manpower, hardware and software as well. When more people are hired, more money is spent on salaries as well as benefits. However, when the work is outsourced, you can avoid all this expenditure.

How to Select the Best Data Entry Company

Various things should be taken into consideration when selecting a good data entry company:

    The company should understand your requirements well
    The solutions that the company offers should be 99 percent accurate
    The data should be handled with confidentiality and security
    The company should have data recovery and backup plans
    It must provide technical support round the clock
    It should assure at least 30 to 40 percent of cost savings
    Company should be able to provide you with the same if not better quality than doing it ion-house

There are many companies that offer free trial of their services. This will help evaluate the kind of service they provide. Businesses will be successful if an established company is chosen. A thorough comparison of the data entry services provided by various companies should be made for selecting the best company. The right service provider will help businesses save time and work towards improving core processes.

MOS is reputed name in the Data entry services outsourcing industry. More details regarding the services offered by the company can be found here.




Source: http://ezinearticles.com/?How-Does-Outsourced-Data-Entry-Services-Help-Companies-Save-Time&id=7644142

Friday, September 20, 2013

Data Entry Services Are Meant To Ease Your Workload

Data entry services provided by the firms are growing very rapidly with a huge demand. It may sound that data entry is a simple task to do but it is not so simple and plays an important role in running a successful business. We all know that data and information related to any company is very crucial for them. Data are priceless for any firm, no-matter they are small or big. The companies provide you highly customized business solutions depending on your requirement.

The companies also provide various range of services for all kinds of textual data capturing from printed matter, manuscripts, and even web research. Very advanced technologies are used to convert large quantities of paper work and image based task to electronic data that is usable in database and in the management system. Any kind of data is very essential for an organization whether it is manual or electronic.

There are many companies that provide highly accurate data entry services with complete confidentiality and high level of accuracy. These services are undertaken by banks, retail organizations, medical research facilities, universities, insurance companies, newspapers, large corporate enterprises, direct marketing and database marketing firms, school and trade associations to make their organization a successful and profitable enterprise.

Outsourcing is a business strategy which is highly being used by businesses to take care of the data entry services. In fact, the process of outsourcing has made things simpler for business owners and the businesses are running successfully. The companies that are involved in outsourcing work do provide these services efficiently to those firms who are burdened with heavy workload. If you are running a business of your own and want to manage it properly and run smoothly, then all you need to do is to hire data entry services.

Availing the benefits of outsourcing works in the form of data entry services can prove tremendous for your company. If you outsource your extra burden of work to a company then in such case, you can make growth plans and strategies for your organization. The companies will console you about the high quality of services and the accuracy they provide for the business that needs data to be extracted from any source.

Data entry services is an information technology enabled services that provides you wide range of services. The professionals working for you are trained and extremely talented who are ready to provide you high end services with full dedication. Since, you are spending money for this, so you must take the best services and choose those companies who can cater to your needs according to you.

Data entry services is not a complex application but it's extremely time taking and this the main reason for a company that hires this service so that they can save their time and money. Every business has many more things to consider for their growth prospects and for this reason they don't want to waste their time and money in such stuffs. The professionals are especially trained according to the requirement of the work depending on how critical the work is. Hiring for this service is definitely a wise decision for your business prospects. These types of services will surely help you to make big profits in the business. The strategy and techniques applied to any business is the key to success.



Source: http://ezinearticles.com/?Data-Entry-Services-Are-Meant-To-Ease-Your-Workload&id=538877

Thursday, September 19, 2013

Know What the Truth Behind Data Mining Outsourcing Service

We came to that, what we call the information age where industries are like useful data needed for decision-making, the creation of products - among other essential uses for business. Information mining and converting them to useful information is a part of this trend that allows companies to reach their optimum potential. However, many companies that do not meet even one deal with data mining question because they are simply overwhelmed with other important tasks. This is where data mining outsourcing comes in.

There have been many definitions to introduced, but it can be simply explained as a process that involves sorting through large amounts of raw data to extract valuable information needed by industries and enterprises in various fields. In most cases this is done by professionals, professional organizations and financial analysts. He has seen considerable growth in the number of sectors or groups that enter my self.
There are a number of reasons why there is a rapid growth in data mining outsourcing service subscriptions. Some of them are presented below:

A wide range of services

Many companies are turning to information mining outsourcing, because they cover a wide range of services. These services include, but are not limited to data from web applications congregation database, collect contact information from different sites, extract data from websites using the software, the sort of stories from sources news, information and accumulate commercial competitors.

Many companies fall

Many industries benefit because it is fast and realistic. The information extracted by data mining service providers of outsourcing used in crucial decisions in the field of direct marketing, e-commerce, customer relationship management, health, scientific tests and other experimental work, telecommunications, financial services, and a whole lot more.

A lot of advantages

Subscribe data mining outsourcing services it's offers many benefits, as providers assures customers to render services to world standards. They strive to work with improved technologies, scalability, sophisticated infrastructure, resources, timeliness, cost, the system safer for the security of information and increased market coverage.

Outsourcing allows companies to focus their core business and can improve overall productivity. Not surprisingly, information mining outsourcing has been a first choice of many companies - to propel the business to higher profits.

In this Article Author wants to tell about Data mining services and truth behind Data Mining Outsourcing Service.





Source: http://ezinearticles.com/?Know-What-the-Truth-Behind-Data-Mining-Outsourcing-Service&id=5303589