This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function scrapeGoogle() { | |
var searchResults=UrlFetchApp.fetch("https://www.google.co.uk/search?q="+encodeURIComponent("keyword finder tool")+"&num=30",{muteHttpExceptions:true}); | |
var titleExp=/<h3 class=\"r\">([\s\S]*?)<\/h3>/gi; | |
var urlExpression=/<h3 class=\"r\">([\s\S]*?)\&\;/gi; | |
var titleResults=searchResults.getContentText().match(titleExp); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function scrapeGoogle() { | |
var searchResults=UrlFetchApp.fetch("https://www.google.co.in/search?q="+encodeURIComponent("amarindaz youtube channel")); | |
var titleExp=/<h3 class=\"r\">([\s\S]*?)<\/h3>/gi; | |
var titleResults=searchResults.getContentText().match(titleExp); | |
// Logger.log(titleResults); | |
for(var i in titleResults) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
public class Ex1 { | |
public static void main(String[] args) throws InterruptedException { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
public class Ex1 { | |
public static void main(String[] args) throws InterruptedException { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ex1.Module1; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
public class Ex1 { | |
public static void main(String[] args) { | |
System.setProperty("webdriver.chrome.driver", "chromedriver.exe"); | |
WebDriver driver=new ChromeDriver(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static HashMap<Integer,HashMap<Integer,String>> getUsername() throws IOException | |
{ | |
int lrow,lcol; | |
FileInputStream fs=new FileInputStream(new File("Upload_Sequence.xlsx")); | |
XSSFWorkbook wb=new XSSFWorkbook(fs); | |
XSSFSheet sh0=wb.getSheet("Sheet1"); | |
lrow=sh0.getLastRowNum(); | |
System.out.println("Last row "+lrow); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static HashMap<Integer,HashMap<Integer,String>> getUsername() throws IOException | |
{ | |
int lrow,lcol; | |
FileInputStream fs=new FileInputStream(new File("Upload_Sequence.xlsx")); | |
XSSFWorkbook wb=new XSSFWorkbook(fs); | |
XSSFSheet sh0=wb.getSheet("Sheet1"); | |
lrow=sh0.getLastRowNum(); | |
System.out.println("Last row "+lrow); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static HashMap<Integer,HashMap<Integer,String>> getUsername() throws IOException | |
{ | |
int lrow,lcol; | |
FileInputStream fs=new FileInputStream(new File("Upload_Sequence.xlsx")); | |
XSSFWorkbook wb=new XSSFWorkbook(fs); | |
XSSFSheet sh0=wb.getSheet("Sheet1"); | |
lrow=sh0.getLastRowNum(); | |
System.out.println("Last row "+lrow); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.test.on; | |
import java.io.IOException; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebElement; | |
import come.ExcelReadWrite.ExcelRead; | |
public class Co99 extends Wrapper{ |