Open
Conversation
added 30 commits
February 8, 2018 14:39
…. Also Added howwemadeitinafrica crawler
…r classes to follow naming convention
added 29 commits
February 16, 2018 11:51
Author
|
Hey Matt, these are the new crawlers MMA asked for. Please review them along with with the change log notes I added and give feed back as needed. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dexter Crawlers Changelog from Assemble
1.The following crawlers have been added:
howwemadeitinafrica, savca, rhodesunimathewblog, worldstage, classicfm, afp, naijanews, dailytrustnp, newteleonline, thepoint, dailytimes, thenation, mediamaxnet, leadership, theinterview, rsaparliament, guardian, nationaldailyng, nta, acdivoca, thisdaylive, channelafrica, nan, nigeriatoday, businessdayonline, standardmediaktnnews, globaltimescn, nationalmirror, monitorke, newsverge, sundiatapost, agrilinks, businessdailyafrica, thebusinesspost, theguardianuk, independentng, thenerveafrica, amehnews, sunnewsonline, seedmagazine, hallmarknews, destinyconnect, economist, washingtonpost, amabhungane, africainvestor, outrepreneurs, cnbcafrica, planintl, bloomberg
2.In document_processor.py:
The crawler classes were registered under the DocumentProcessor and DocumentProcessorNT classes.
3.In medium.py:
The Mediums for each of the crawlers where added under the create_defaults class method and added a url exception for mathewnyaungwa.blogspot.co.za under is_tld_exception class method and added a sub_domain_exception_list in for_url class method to handle blogspot.co.za.
4.In country.py
Added country codes for the newly added crawlers in the create_defaults class method.
5.Had to update the tld name list to include some of the newly added country codes.
These where the commands I ran to update the list: