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
StartupLoader default executeAtomicItems: { | |
StartupAction | |
name: 'Accounts' | |
code: [ | |
Author fullName: 'MirceaLungu'. | |
MCRepository class compile: 'settings ^Settings ifNil: [ Settings := Dictionary new.]'. | |
MCRepository settings | |
at: 'account1' | |
put: '*smalltalkhub.com* MirceaLungu:password' ] | |
runOnce: true |
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
import threading | |
from goose import Goose | |
import time | |
urls = [ | |
'http://www.derbund.ch/schweiz/standard/davon-profitieren-die-schlimmsten-gauner/story/25657350', | |
'http://www.derbund.ch/kultur/kino/der-soll-mein-land-verlassen/story/29603044', | |
'http://www.derbund.ch/kultur/kino/sie-will-fuehlen-nicht-verharren/story/29651519', | |
'http://www.derbund.ch/kultur/kino/Ihre-Koepfe-sind-ausgehoehlt/story/24473164', | |
'http://www.derbund.ch/kultur/kino/Ein-Schuss-der-alles-veraendert/story/16568277', |
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
6,7d5 | |
< roots = sys.path[:] | |
< | |
29,31d26 | |
< if os.path.isdir(fileName): | |
< fileName = fileName.rstrip('/\\') + os.path.sep | |
< | |
33c28 | |
< # because of django took advantage of module name | |
--- |