Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major update. Replaced search_terms.py with a configparser and 'confi…
…g.ini'. The config file is populated with the maximum page of search results for each term in the PAGE_LIMS array when configure() is called if any of the elements are '-1'. When tweet_pic.py is run, a random tag is selected from config.ini to be searched for. The SEARCH_TAGS and PAGE_LIMS parameters have to match up with this implementation. Also added a __repr__ function to the Image class.
- Loading branch information
Showing
5 changed files
with
99 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.DS_Store | ||
*.pyc | ||
*.log | ||
*jpg | ||
credentials.py | ||
recent_tweets.dat |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[PixivSearch] | ||
SEARCH_TAGS = ['Key','Kanon','CLANNAD','LittleBusters!','AngelBeats!','AB!','Rewrite','Charlotte'] | ||
PAGE_LIMS = [-1]*len(SEARCH_TAGS) | ||
DEFAULT_LIM = 200 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
beautifulsoup4>=4.4.0 | ||
requests>=2.6.0 | ||
tweepy>=3.3.0 | ||
datetime>=4.0.0 | ||
datetime>=4.0.0 | ||
configparser>=3.3.0 |
This file was deleted.
Oops, something went wrong.
This file contains 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