GithubHelp home page GithubHelp logo

linkxtractor's Introduction

linkXtractor

The goal of linkXtractor is to build a tibble of links from a source webpage URL.

Installation

You can install development version from GitHub with:

# install.packages("devtools")
devtools::install_github("Arf9999/linkXtractor")

Example

This is a basic example:

library(linkXtractor)
example <- linkXtractor::get_links("https://cnn.com/")
head(example, 10)
#> # A tibble: 10 x 2
#>    source_url       out_link                                                    
#>    <chr>            <chr>                                                       
#>  1 https://cnn.com/ https://edition.cnn.com/                                    
#>  2 https://cnn.com/ https://www.cnn.com/                                        
#>  3 https://cnn.com/ https://plus.google.com/+cnn/posts                          
#>  4 https://cnn.com/ android-app://com.cnn.mobile.android.phone/http/edition.cnn…
#>  5 https://cnn.com/ https://edition.cnn.com/world                               
#>  6 https://cnn.com/ https://edition.cnn.com/politics                            
#>  7 https://cnn.com/ https://edition.cnn.com/business                            
#>  8 https://cnn.com/ https://edition.cnn.com/health                              
#>  9 https://cnn.com/ https://edition.cnn.com/entertainment                       
#> 10 https://cnn.com/ https://edition.cnn.com/style
## basic example code

linkxtractor's People

Contributors

arf9999 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.