Skip to content

Commit cbbfba3

Browse files
author
Xavier Grangier
committed
grangier#188 - add tags and author extractors
1 parent bcf4654 commit cbbfba3

2 files changed

Lines changed: 56 additions & 0 deletions

File tree

goose/extractors/author.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# -*- coding: utf-8 -*-
2+
"""\
3+
This is a python port of "Goose" orignialy licensed to Gravity.com
4+
under one or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership.
7+
8+
Python port was written by Xavier Grangier for Recrutae
9+
10+
Gravity.com licenses this file
11+
to you under the Apache License, Version 2.0 (the "License");
12+
you may not use this file except in compliance
13+
with the License. You may obtain a copy of the License at
14+
15+
http://www.apache.org/licenses/LICENSE-2.0
16+
17+
Unless required by applicable law or agreed to in writing, software
18+
distributed under the License is distributed on an "AS IS" BASIS,
19+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20+
See the License for the specific language governing permissions and
21+
limitations under the License.
22+
"""
23+
24+
from goose.extractors import BaseExtractor
25+
26+
27+
class ContentAuthorExtractor(BaseExtractor):
28+
pass

goose/extractors/tags.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# -*- coding: utf-8 -*-
2+
"""\
3+
This is a python port of "Goose" orignialy licensed to Gravity.com
4+
under one or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership.
7+
8+
Python port was written by Xavier Grangier for Recrutae
9+
10+
Gravity.com licenses this file
11+
to you under the Apache License, Version 2.0 (the "License");
12+
you may not use this file except in compliance
13+
with the License. You may obtain a copy of the License at
14+
15+
http://www.apache.org/licenses/LICENSE-2.0
16+
17+
Unless required by applicable law or agreed to in writing, software
18+
distributed under the License is distributed on an "AS IS" BASIS,
19+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20+
See the License for the specific language governing permissions and
21+
limitations under the License.
22+
"""
23+
24+
from goose.extractors import BaseExtractor
25+
26+
27+
class ContentTagsExtractor(BaseExtractor):
28+
pass

0 commit comments

Comments
 (0)