Add grabber rule for allgemeine-zeitung.de
This commit is contained in:
parent
0da3a8dfa3
commit
75b7511f5f
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInita57f23d5e3b273c0241536094b292083::getLoader();
|
||||
return ComposerAutoloaderInit4bf0deb5f320870196e18154b9d8e434::getLoader();
|
||||
|
10
vendor/composer/autoload_real.php
vendored
10
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInita57f23d5e3b273c0241536094b292083
|
||||
class ComposerAutoloaderInit4bf0deb5f320870196e18154b9d8e434
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -19,9 +19,9 @@ class ComposerAutoloaderInita57f23d5e3b273c0241536094b292083
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInita57f23d5e3b273c0241536094b292083', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit4bf0deb5f320870196e18154b9d8e434', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInita57f23d5e3b273c0241536094b292083', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit4bf0deb5f320870196e18154b9d8e434', 'loadClassLoader'));
|
||||
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
@ -42,14 +42,14 @@ class ComposerAutoloaderInita57f23d5e3b273c0241536094b292083
|
||||
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
foreach ($includeFiles as $file) {
|
||||
composerRequirea57f23d5e3b273c0241536094b292083($file);
|
||||
composerRequire4bf0deb5f320870196e18154b9d8e434($file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequirea57f23d5e3b273c0241536094b292083($file)
|
||||
function composerRequire4bf0deb5f320870196e18154b9d8e434($file)
|
||||
{
|
||||
require $file;
|
||||
}
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -162,18 +162,18 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/fguillot/picoFeed.git",
|
||||
"reference": "627d1d48642ef82f8bb0e70870f36151b3c6936d"
|
||||
"reference": "b25b74c8aee8e6af3d9c1b15e0772628ea313e0c"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/627d1d48642ef82f8bb0e70870f36151b3c6936d",
|
||||
"reference": "627d1d48642ef82f8bb0e70870f36151b3c6936d",
|
||||
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/b25b74c8aee8e6af3d9c1b15e0772628ea313e0c",
|
||||
"reference": "b25b74c8aee8e6af3d9c1b15e0772628ea313e0c",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"time": "2015-01-06 23:58:29",
|
||||
"time": "2015-01-07 01:50:53",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
|
17
vendor/fguillot/picofeed/lib/PicoFeed/Rules/allgemeine-zeitung.de.php
vendored
Normal file
17
vendor/fguillot/picofeed/lib/PicoFeed/Rules/allgemeine-zeitung.de.php
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'test_url' => 'http://www.allgemeine-zeitung.de/lokales/polizei/zweimal-totalschaden-nach-unfaellen-auf-eisglatten-fahrbahnen-bei-mainz-und-bei-bad-sobernheim-mit-baeumen-kollidiert_14904737.htm',
|
||||
'body' => array(
|
||||
'//div[contains(@class, "article")][1]',
|
||||
),
|
||||
'strip' => array(
|
||||
'//read/h1',
|
||||
'//*[contains(@class, "adsense")]',
|
||||
'//*[contains(@class, "linkbox")]',
|
||||
'//*[contains(@class, "info")]',
|
||||
'//*[@class="skip"]',
|
||||
'//*[@class="funcs"]',
|
||||
'//a[contains(@href, "abo-und-services")]'
|
||||
)
|
||||
);
|
Loading…
Reference in New Issue
Block a user