diff --git a/lib/docs/filters/gnu_cobol/clean_html.rb b/lib/docs/filters/gnu_cobol/clean_html.rb
index 6ac3e7b3..f17cff17 100644
--- a/lib/docs/filters/gnu_cobol/clean_html.rb
+++ b/lib/docs/filters/gnu_cobol/clean_html.rb
@@ -21,7 +21,7 @@ module Docs
# Remove everything after Appendix B
# This includes the license text, the document changelog, the compiler changelog and the footnote
- current_element = at_css('a[name="Appendix-C-_002d-GNU-Free-Documentation-License"]').previous
+ current_element = at_css('a[name="Appendix-C1-_002d-Grouped-Word-Lists-by-feature-and-function"]').previous
until current_element.nil?
next_element = current_element.next
current_element.remove
diff --git a/lib/docs/scrapers/gnu_cobol.rb b/lib/docs/scrapers/gnu_cobol.rb
index a211ef49..56f2087e 100644
--- a/lib/docs/scrapers/gnu_cobol.rb
+++ b/lib/docs/scrapers/gnu_cobol.rb
@@ -3,15 +3,17 @@ module Docs
self.name = 'GnuCOBOL'
self.slug = 'gnu_cobol'
self.type = 'simple'
- self.release = '2.2'
- self.base_url = 'https://open-cobol.sourceforge.io/HTML/gnucobpg.html'
+ self.release = '3.1'
+ self.base_url = 'https://gnucobol.sourceforge.io/HTML/gnucobpg.html'
self.links = {
- home: 'https://sourceforge.net/projects/open-cobol/',
- code: 'https://sourceforge.net/p/open-cobol/code/HEAD/tree/trunk/'
+ home: 'https://gnucobol.sourceforge.io/',
+ code: 'https://sourceforge.net/p/gnucobol/code/HEAD/tree/trunk/'
}
html_filters.push 'gnu_cobol/entries', 'gnu_cobol/clean_html'
+ options[:skip_links] = true
+
options[:attribution] = <<-HTML
Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
Licensed under the GNU Free Documentation License.