Initial commit
This commit is contained in:
24
chant-oiseaux-fr/pom.xml
Normal file
24
chant-oiseaux-fr/pom.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>ch.gtache.fro</groupId>
|
||||
<artifactId>fro</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>fro-chants-oiseaux-fr</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>ch.gtache.fro</groupId>
|
||||
<artifactId>fro-selenium</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.dagger</groupId>
|
||||
<artifactId>dagger</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -0,0 +1,42 @@
|
||||
package ch.gtache.fro.chants.oiseaux.fr;
|
||||
|
||||
import ch.gtache.fro.Bird;
|
||||
import ch.gtache.fro.BirdProvider;
|
||||
import ch.gtache.fro.Configuration;
|
||||
import ch.gtache.fro.FetchException;
|
||||
import ch.gtache.fro.Fetcher;
|
||||
import ch.gtache.fro.selenium.AbstractSeleniumFetcher;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Implementation of {@link Fetcher} for chant-oiseaux.fr
|
||||
*/
|
||||
public class ChantOiseauxFrFetcher extends AbstractSeleniumFetcher {
|
||||
|
||||
/**
|
||||
* Instantiates the fetcher
|
||||
*
|
||||
* @param birdProvider The bird provider
|
||||
* @param configuration The configuration
|
||||
* @throws NullPointerException If any parameter is null
|
||||
*/
|
||||
protected ChantOiseauxFrFetcher(final BirdProvider birdProvider, final Configuration configuration) {
|
||||
super(birdProvider, configuration);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void waitFor() throws IOException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String name() {
|
||||
return "chant-oiseaux.fr";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void download(final Bird bird) throws FetchException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
10
chant-oiseaux-fr/src/main/java/module-info.java
Normal file
10
chant-oiseaux-fr/src/main/java/module-info.java
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Module for chant-oiseaux.fr fetcher
|
||||
*/
|
||||
module ch.gtache.fro.chants.oiseaux.fr {
|
||||
requires transitive ch.gtache.fro.api;
|
||||
requires transitive ch.gtache.fro.selenium;
|
||||
requires ch.gtache.fro.core;
|
||||
|
||||
exports ch.gtache.fro.chants.oiseaux.fr;
|
||||
}
|
||||
Reference in New Issue
Block a user