repo
string
commit
string
message
string
diff
string
antoine-levitt/ACCQUAREL
ace2750890329ac1d618e5c0cefefb8815218129
Simplify use of bielectronic integrals
diff --git a/src/Makefile b/src/Makefile index c75a9b0..31d9103 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,99 +1,102 @@ ### MAKEFILE PREAMBLE ### F95 = g95 #F95 = gfortran #F95 = ifort # common to compilers and linker DEBUGFFLAGS = -fbounds-check -fimplicit-none -ffpe-trap=invalid,zero,denormal PRODFFL...
antoine-levitt/ACCQUAREL
523a5f5c7c02e906472bb16089d480c004d02aab
Add formulae as comments
diff --git a/src/matrices.f90 b/src/matrices.f90 index e69a415..283c14b 100644 --- a/src/matrices.f90 +++ b/src/matrices.f90 @@ -63,1115 +63,1117 @@ SUBROUTINE FORMPROJ(PPROJM,EIGVEC,NBAST,LOON) CALL ZHPR('U',NBAST,1.D0,EIGVEC(:,LOON+I),1,PPROJM) END DO END SUBROUTINE FORMPROJ SUBROUTINE BUILDOM_relativist...
antoine-levitt/ACCQUAREL
3b99352127c2f73e19d8fdb83851b3167a14c563
Cleaner output, suppress infinity norms
diff --git a/src/scf.f90 b/src/scf.f90 index 61f30e8..91b5ac2 100644 --- a/src/scf.f90 +++ b/src/scf.f90 @@ -1,460 +1,449 @@ MODULE scf_tools INTERFACE CHECKNUMCONV MODULE PROCEDURE CHECKNUMCONV_relativistic,CHECKNUMCONV_AOCOSDHF,CHECKNUMCONV_RHF,CHECKNUMCONV_UHF END INTERFACE CONTAINS SUBROUTINE CHECKORB...
antoine-levitt/ACCQUAREL
76134bae6a480228dfdfae806740d929246fb781
add a FORMDM_nonrelativistic that doesn't expect orthogonal eigenvectors
diff --git a/src/matrices.f90 b/src/matrices.f90 index a13d01a..e69a415 100644 --- a/src/matrices.f90 +++ b/src/matrices.f90 @@ -1,526 +1,550 @@ SUBROUTINE FORMDM_relativistic(PDM,EIGVEC,NBAST,LOON,HOON) ! Assembly of the density matrix from selected eigenvectors associated to (occupied) electronic orbitals (only the...
antoine-levitt/ACCQUAREL
056268651503d5786351f9cc2fecd3f3914e21b8
Implement DIIS_GHF (in contrast to other methods, it converges quickly with random IC, for some reason)
diff --git a/src/diis.f90 b/src/diis.f90 index 892c6da..2edc358 100644 --- a/src/diis.f90 +++ b/src/diis.f90 @@ -1,299 +1,451 @@ SUBROUTINE DIIS_relativistic(EIG,EIGVEC,NBAST,POEFM,PHI,TRSHLD,MAXITR,RESUME) ! DIIS (Direct Inversion in the Iterative Subspace) algorithm (relativistic case) ! Reference: P. Pulay, Conve...
antoine-levitt/ACCQUAREL
d7750353c72661cb210ba1ca46be1fb820539c86
LEVELSHIFTING_GHF
diff --git a/src/drivers.f90 b/src/drivers.f90 index fa57316..78c0bd0 100644 --- a/src/drivers.f90 +++ b/src/drivers.f90 @@ -1,612 +1,612 @@ SUBROUTINE DRIVER_relativistic USE case_parameters ; USE basis_parameters ; USE scf_parameters USE basis ; USE integrals ; USE matrices ; USE matrix_tools USE metric_rel...
antoine-levitt/ACCQUAREL
368227bf4778b989c2550702727a688dd4a05934
Fix ODA_GHF
diff --git a/src/oda.f90 b/src/oda.f90 index d6cef64..9296ce9 100644 --- a/src/oda.f90 +++ b/src/oda.f90 @@ -1,227 +1,230 @@ SUBROUTINE ODA_RHF(EIG,EIGVEC,NBAST,POEFM,PHI,TRSHLD,MAXITR,RESUME) ! Optimal Damping Algorithm (non-relativistic case: restricted closed-shell Hartree-Fock formalism) ! Reference: E. Cancès a...
antoine-levitt/ACCQUAREL
6f9e381bf42caf2aadb11bb9c5edec8e2133fe4c
ODA_GHF
diff --git a/src/drivers.f90 b/src/drivers.f90 index 7a150c6..fa57316 100644 --- a/src/drivers.f90 +++ b/src/drivers.f90 @@ -1,612 +1,612 @@ SUBROUTINE DRIVER_relativistic USE case_parameters ; USE basis_parameters ; USE scf_parameters USE basis ; USE integrals ; USE matrices ; USE matrix_tools USE metric_rel...
antoine-levitt/ACCQUAREL
53266b4326e171c0a2005ee6f9a48272d5a52714
Implement a simple kind of resume
diff --git a/src/drivers.f90 b/src/drivers.f90 index 031151c..7a150c6 100644 --- a/src/drivers.f90 +++ b/src/drivers.f90 @@ -1,581 +1,612 @@ SUBROUTINE DRIVER_relativistic USE case_parameters ; USE basis_parameters ; USE scf_parameters USE basis ; USE integrals ; USE matrices ; USE matrix_tools USE metric_rel...
antoine-levitt/ACCQUAREL
59ca37bfbd28500dfeda67b21f69489711e01ed8
Complex General Hartree-Fock
diff --git a/src/drivers.f90 b/src/drivers.f90 index b5d5da7..031151c 100644 --- a/src/drivers.f90 +++ b/src/drivers.f90 @@ -1,573 +1,581 @@ SUBROUTINE DRIVER_relativistic USE case_parameters ; USE basis_parameters ; USE scf_parameters USE basis ; USE integrals ; USE matrices ; USE matrix_tools USE metric_rel...
antoine-levitt/ACCQUAREL
d621ca0e1b69a228f61c4fe370539d6df5f5b255
New LSINTEGRALS variable
diff --git a/src/integrals_f.f90 b/src/integrals_f.f90 index 4a838ac..9c57dfa 100644 --- a/src/integrals_f.f90 +++ b/src/integrals_f.f90 @@ -1,558 +1,564 @@ MODULE integrals ! Note: all the integrals involving gaussian basis functions are computed by the A.S.P.I.C. code (written in C++ by F. Lodier, see http://www.an...
antoine-levitt/ACCQUAREL
d2089d7bf16fb62e1061a712dd2c98aa762e0742
Plot functions: take non-symmetric matrices as input
diff --git a/src/scf.f90 b/src/scf.f90 index 40ab732..61f30e8 100644 --- a/src/scf.f90 +++ b/src/scf.f90 @@ -1,460 +1,460 @@ MODULE scf_tools INTERFACE CHECKNUMCONV MODULE PROCEDURE CHECKNUMCONV_relativistic,CHECKNUMCONV_AOCOSDHF,CHECKNUMCONV_RHF,CHECKNUMCONV_UHF END INTERFACE CONTAINS SUBROUTINE CHECKORB...
antoine-levitt/ACCQUAREL
36a071f419b7e3b96f0c634398cba9c0c9dd5b70
Fix bug in BUILD_BLOCK_DIAGONAL
diff --git a/src/tools.f90 b/src/tools.f90 index c6d74a3..d20e968 100644 --- a/src/tools.f90 +++ b/src/tools.f90 @@ -423,595 +423,596 @@ FUNCTION INVERSE_symmetric(PA,N) RESULT(PINVA) END IF 3 WRITE(*,*)'(called from function INVERSE)' STOP END FUNCTION INVERSE_symmetric FUNCTION INVERSE_hermitian(PA,N) RESU...
antoine-levitt/ACCQUAREL
09d121ca18e3a61508462f54b2047b6265b8b7f2
Allow null matrix
diff --git a/src/expokit.f b/src/expokit.f index b81fa45..7145d98 100644 --- a/src/expokit.f +++ b/src/expokit.f @@ -1,1532 +1,1528 @@ * EXPOKIT, used under a free license, http://www.maths.uq.edu.au/expokit/ *----------------------------------------------------------------------| subroutine DMEXPV( n, m, t, v...
antoine-levitt/ACCQUAREL
b29e566af386061f0f78ceb29b40a846f20499b5
Do not parallelise disk access (it messes up things)
diff --git a/src/drivers.f90 b/src/drivers.f90 index 6c56e7d..89d6505 100644 --- a/src/drivers.f90 +++ b/src/drivers.f90 @@ -1,554 +1,550 @@ SUBROUTINE DRIVER_relativistic USE case_parameters ; USE basis_parameters ; USE scf_parameters USE basis ; USE integrals ; USE matrices ; USE matrix_tools USE metric_rel...
antoine-levitt/ACCQUAREL
286c38ae9f27be5ce32f7f86a9f82c2c07a430aa
fix matrix prints once and for all, and add new BUILD_BLOCK_DIAGONAL function
diff --git a/src/tools.f90 b/src/tools.f90 index 4e7abe5..c6d74a3 100644 --- a/src/tools.f90 +++ b/src/tools.f90 @@ -1,1007 +1,1017 @@ MODULE constants DOUBLE PRECISION,PARAMETER :: PI=3.14159265358979323846D0 END MODULE MODULE random CONTAINS ! call this once SUBROUTINE INIT_RANDOM() ! initialises ...
antoine-levitt/ACCQUAREL
9e8cbb2d15e2f52ccb5f5bb78fc2b6960ba85bf9
Change prototype of BUILDBILIST in nonrelativistic case
diff --git a/src/drivers.f90 b/src/drivers.f90 index 6d305c0..6c56e7d 100644 --- a/src/drivers.f90 +++ b/src/drivers.f90 @@ -1,554 +1,554 @@ SUBROUTINE DRIVER_relativistic USE case_parameters ; USE basis_parameters ; USE scf_parameters USE basis ; USE integrals ; USE matrices ; USE matrix_tools USE metric_rel...
antoine-levitt/ACCQUAREL
1626a02aecacc1df6a1126825815bb911a2c1c71
Use new syntax for LINESEARCH
diff --git a/src/gradient.f90 b/src/gradient.f90 index bd53cec..6f74e50 100644 --- a/src/gradient.f90 +++ b/src/gradient.f90 @@ -1,380 +1,380 @@ MODULE gradient_mod USE basis_parameters DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_PG,PDM_PG,PFM_PG DOUBLE COMPLEX,POINTER,DIMENSION(:,:) :: CMT_PG TYPE(tw...
antoine-levitt/ACCQUAREL
5ab0b691124c922e6cd2fa07345e104633902d19
Exhaustive search rather than finite differences
diff --git a/src/gradient.f90 b/src/gradient.f90 index 13c719e..bd53cec 100644 --- a/src/gradient.f90 +++ b/src/gradient.f90 @@ -1,338 +1,380 @@ MODULE gradient_mod USE basis_parameters DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_PG,PDM_PG,PFM_PG DOUBLE COMPLEX,POINTER,DIMENSION(:,:) :: CMT_PG TYPE(tw...
antoine-levitt/ACCQUAREL
061108d417485726ea57c2d050394eb3b4fc0d79
Do a theta before beginning gradient algorithm
diff --git a/src/gradient.f90 b/src/gradient.f90 index 3b76696..13c719e 100644 --- a/src/gradient.f90 +++ b/src/gradient.f90 @@ -1,338 +1,338 @@ MODULE gradient_mod USE basis_parameters DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_PG,PDM_PG,PFM_PG DOUBLE COMPLEX,POINTER,DIMENSION(:,:) :: CMT_PG TYPE(tw...
antoine-levitt/ACCQUAREL
bfa72802652d74c105a6ae4d8a48e01dd9c32e05
do a theta before beginning gradient algorithm
diff --git a/src/gradient.f90 b/src/gradient.f90 index 5c35d92..3b76696 100644 --- a/src/gradient.f90 +++ b/src/gradient.f90 @@ -1,337 +1,338 @@ MODULE gradient_mod USE basis_parameters DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_PG,PDM_PG,PFM_PG DOUBLE COMPLEX,POINTER,DIMENSION(:,:) :: CMT_PG TYPE(tw...
antoine-levitt/ACCQUAREL
ee1cfa48ce0ff4c9b029bb6332697bbc4aee4caa
golden linesearch
diff --git a/src/gradient.f90 b/src/gradient.f90 index 20daef1..5c35d92 100644 --- a/src/gradient.f90 +++ b/src/gradient.f90 @@ -1,290 +1,337 @@ MODULE gradient_mod + USE basis_parameters + + DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_PG,PDM_PG,PFM_PG + DOUBLE COMPLEX,POINTER,DIMENSION(:,:) :: CMT_PG + TYPE(tw...
antoine-levitt/ACCQUAREL
f229bc4149d1ba66f50e92f5e74243c016d1acaf
Remove old USE random
diff --git a/src/tools.f90 b/src/tools.f90 index bab2689..4e7abe5 100644 --- a/src/tools.f90 +++ b/src/tools.f90 @@ -265,744 +265,743 @@ FUNCTION ABA_hermitian(PA,PB,N) RESULT (PC) END DO END DO END FUNCTION ABA_hermitian FUNCTION ABCBA_symmetric(PA,PB,PC,N) RESULT (PD) ! Function that computes the produc...
antoine-levitt/ACCQUAREL
22b23f94ee5334642418fbabafc83ed828338654
Better ABCBA
diff --git a/src/tools.f90 b/src/tools.f90 index 56d82b3..bab2689 100644 --- a/src/tools.f90 +++ b/src/tools.f90 @@ -1,804 +1,801 @@ MODULE constants DOUBLE PRECISION,PARAMETER :: PI=3.14159265358979323846D0 END MODULE MODULE random CONTAINS ! call this once SUBROUTINE INIT_RANDOM() ! initialises ra...
antoine-levitt/ACCQUAREL
7091b783bd89d8784293263213ec3c1d2ccbe7a8
Also output condition number in nonrelativistic case
diff --git a/src/drivers.f90 b/src/drivers.f90 index 67794f1..6d305c0 100644 --- a/src/drivers.f90 +++ b/src/drivers.f90 @@ -1,552 +1,554 @@ SUBROUTINE DRIVER_relativistic USE case_parameters ; USE basis_parameters ; USE scf_parameters USE basis ; USE integrals ; USE matrices ; USE matrix_tools USE metric_rel...
antoine-levitt/ACCQUAREL
8df70a54f10c8ffaedec682b198b9d45fdf3135e
Skeleton for new LINESEARCH function
diff --git a/src/gradient.f90 b/src/gradient.f90 index 7b08241..20daef1 100644 --- a/src/gradient.f90 +++ b/src/gradient.f90 @@ -1,261 +1,290 @@ +MODULE gradient_mod +CONTAINS +! performs a linesearch about PDM +FUNCTION LINESEARCH(CMT,PDM,NBAST,POEFM,PHI) RESULT(PDMNEW) + USE case_parameters ; USE data_parameters ; U...
antoine-levitt/ACCQUAREL
6f3ec7fd20b466e77d1dccf058770ad44ee5a012
PACK_symmetric: also symmetrise matrices
diff --git a/src/tools.f90 b/src/tools.f90 index 7cfa0d2..56d82b3 100644 --- a/src/tools.f90 +++ b/src/tools.f90 @@ -1,641 +1,642 @@ MODULE constants DOUBLE PRECISION,PARAMETER :: PI=3.14159265358979323846D0 END MODULE MODULE random CONTAINS ! call this once SUBROUTINE INIT_RANDOM() ! initialises ra...
antoine-levitt/ACCQUAREL
92d95671b7126bfffa742684d959b4278ae708ef
Refactor norm computation
diff --git a/src/tools.f90 b/src/tools.f90 index 25c8a83..f5f03b8 100644 --- a/src/tools.f90 +++ b/src/tools.f90 @@ -127,857 +127,841 @@ FUNCTION PACK_hermitian(A,N) RESULT (PA) PA(IJ)=A(I,J) END DO END DO END FUNCTION PACK_hermitian FUNCTION UNPACK_symmetric(PA,N) RESULT (A) ! Function that unpa...
antoine-levitt/ACCQUAREL
ef51996cf4248151440b83df27c142debe772b95
Changed the tolerance in the sign function, tidied up the matrix_tools module
diff --git a/src/esa.f90 b/src/esa.f90 index e082d13..87dc100 100644 --- a/src/esa.f90 +++ b/src/esa.f90 @@ -1,282 +1,281 @@ MODULE esa_mod USE basis_parameters INTEGER,POINTER :: NBAST_P DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_P,PTDM_P,PDMDIF_P TYPE(twospinor),POINTER,DIMENSION(:) :: PHI_P CHARACT...
antoine-levitt/ACCQUAREL
ee5826dedaae183189f1ce3f29348132c7834500
Set speed of light via scale factor
diff --git a/src/esa.f90 b/src/esa.f90 index eceefa7..e082d13 100644 --- a/src/esa.f90 +++ b/src/esa.f90 @@ -1,285 +1,282 @@ MODULE esa_mod USE basis_parameters INTEGER,POINTER :: NBAST_P DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_P,PTDM_P,PDMDIF_P TYPE(twospinor),POINTER,DIMENSION(:) :: PHI_P CHARACT...
antoine-levitt/ACCQUAREL
a623128e12d2d126efa0dd461ca65cc6798732a1
Allow speed of light to be changed in setup file
diff --git a/src/setup.f90 b/src/setup.f90 index 73eb667..31aa0b9 100644 --- a/src/setup.f90 +++ b/src/setup.f90 @@ -1,538 +1,542 @@ MODULE case_parameters ! relativistic or non-relativistic case flag LOGICAL :: RELATIVISTIC ! speed of light in the vacuum in atomic units (for the relativistic case) ! Note : One ...
antoine-levitt/ACCQUAREL
7b6c2a6c98fe0073f7d6d3676758315508a9779f
Add 1-norm for non-symmetric matrices
diff --git a/src/tools.f90 b/src/tools.f90 index b2dc266..25c8a83 100644 --- a/src/tools.f90 +++ b/src/tools.f90 @@ -141,839 +141,843 @@ FUNCTION UNPACK_symmetric(PA,N) RESULT (A) J=I*(I-1)/2 A(1:I,I)=PA(1+J:I+J) A(I,1:I-1)=PA(1+J:I-1+J) END DO END FUNCTION UNPACK_symmetric FUNCTION UNPACK_herm...
antoine-levitt/ACCQUAREL
9f295614e97e7e66731da1be33305192eb5b5730
Output condition number of S
diff --git a/src/drivers.f90 b/src/drivers.f90 index be208d9..67794f1 100644 --- a/src/drivers.f90 +++ b/src/drivers.f90 @@ -1,550 +1,552 @@ SUBROUTINE DRIVER_relativistic USE case_parameters ; USE basis_parameters ; USE scf_parameters USE basis ; USE integrals ; USE matrices ; USE matrix_tools USE metric_rel...
antoine-levitt/ACCQUAREL
b3378b3f29a51069ef974b5027009551e8f9a19c
cleaned up the code in FORMBASIS_relativistic
diff --git a/src/basis.f90 b/src/basis.f90 index e39aad4..f85d3b6 100644 --- a/src/basis.f90 +++ b/src/basis.f90 @@ -1,821 +1,813 @@ MODULE basis USE iso_c_binding INTEGER,DIMENSION(4),PARAMETER :: NGPMUSC=(/1,3,6,10/) INTEGER,DIMENSION(4),PARAMETER :: NGPMLSC=(/3,7,13,21/) INTERFACE FORMBASIS MODULE PR...
antoine-levitt/ACCQUAREL
e0a88652c47bbd6fa04910b66108b2705bcddff7
Remove scaling in basis
diff --git a/src/basis.f90 b/src/basis.f90 index cdf8a78..e39aad4 100644 --- a/src/basis.f90 +++ b/src/basis.f90 @@ -1,842 +1,842 @@ MODULE basis USE iso_c_binding INTEGER,DIMENSION(4),PARAMETER :: NGPMUSC=(/1,3,6,10/) INTEGER,DIMENSION(4),PARAMETER :: NGPMLSC=(/3,7,13,21/) INTERFACE FORMBASIS MODULE PR...
antoine-levitt/ACCQUAREL
0bb13957507ff78995d98b0c6276757605652b55
slightly modified the restricted kinetic balance implementation
diff --git a/src/basis.f90 b/src/basis.f90 index 976286d..cdf8a78 100644 --- a/src/basis.f90 +++ b/src/basis.f90 @@ -1,836 +1,842 @@ MODULE basis USE iso_c_binding INTEGER,DIMENSION(4),PARAMETER :: NGPMUSC=(/1,3,6,10/) INTEGER,DIMENSION(4),PARAMETER :: NGPMLSC=(/3,7,13,21/) INTERFACE FORMBASIS MODULE PR...
antoine-levitt/ACCQUAREL
8c1e07a2e0bcfad0e74052ac7f5b84100c6e7b45
Fix misleading BUILDTEFM_UHF declaration (the code actually uses BUILDTEFM_RHF)
diff --git a/src/matrices.f90 b/src/matrices.f90 index 424c182..faa053f 100644 --- a/src/matrices.f90 +++ b/src/matrices.f90 @@ -543,558 +543,550 @@ SUBROUTINE BUILDCOULOMB_nonrelativistic(PCM,NBAST,PHI,PDM) CM(J,I)=CM(J,I)+INTGRL*(DM(J,L)+DM(L,J)) CM(I,J)=CM(I,J)+INTGRL*(DM(J,L)+DM(L,J)) CM(...
antoine-levitt/ACCQUAREL
d7e431f1acbb9bfcac301ae247808cb702be6ceb
Gradient algorithm, RHF and relativistic
diff --git a/src/Makefile b/src/Makefile index f260953..c75a9b0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,98 +1,99 @@ ### MAKEFILE PREAMBLE ### F95 = g95 #F95 = gfortran #F95 = ifort # common to compilers and linker DEBUGFFLAGS = -fbounds-check -fimplicit-none -ffpe-trap=invalid,zero,denormal PRODFFLA...
antoine-levitt/ACCQUAREL
598cc593927dafadac44d0bd055e041f13fc1499
Fix typo in expokit wrappers
diff --git a/src/tools.f90 b/src/tools.f90 index 370176e..b2dc266 100644 --- a/src/tools.f90 +++ b/src/tools.f90 @@ -324,656 +324,656 @@ FUNCTION INVERSE_real(A,N) RESULT(INVA) IF (INFO/=0) GOTO 1 CALL DGETRI(N,INVA,N,IPIV,WORK,N,INFO) IF (INFO/=0) GOTO 2 RETURN 1 IF (INFO<0) THEN WRITE(*,*)'Subrouti...
alvinj/JustWrite
24a370abcf344bf9740036a21890de737c7a0380
Quick update to the README file.
diff --git a/README b/README index 53726dd..8bf1ad4 100644 --- a/README +++ b/README @@ -1,65 +1,76 @@ JustWrite - a Mac OS X "Full Screen Editor" application June 20, 2010 INTRODUCTION I created JustWrite as an experiment to see if I could create a full-screen, plain text editor on Mac OS X using Java. ...
bjornstar/TumTaster
ff6642375ebf196c655df619307de2fdd703a04c
v1.0.2 - 2019-09-17
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b7cdd7..276d024 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,40 +1,43 @@ #@bjornstar/TumTaster Changelog +## v1.0.2 - 2019-09-17 +* Add `build.sh` to generate zip file + ## v1.0.1 - 2019-09-17 * Do not create or check in `package-lock.json` ## v1.0.0 - 2019-...
bjornstar/TumTaster
ca49ec21b35ac38bbc6d23af4056cccfc1914acc
v1.0.1 - 2019-09-17
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e7aa19..3b7cdd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,38 +1,40 @@ #@bjornstar/TumTaster Changelog +## v1.0.1 - 2019-09-17 +* Do not create or check in `package-lock.json` + ## v1.0.0 - 2019-09-16 * Only request track and playlist details from soundcloud ...
bjornstar/TumTaster
7d2bce2e2b28428aafb8217ebc279405f9f7629a
Do not create or check-in package-lock.json
diff --git a/.gitignore b/.gitignore index 76fdcfd..6c778b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,9 @@ *.nex *.pem *.safariextz *.xpi *.zip .DS_Store -src.safariextension node_modules/ +package-lock.json +src.safariextension diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..43c97e7 -...
bjornstar/TumTaster
a7df276de63ab44821229986536920551eabd2c6
v1.0.0 - 2019-09-16
diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..0e9b6cf --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +src/data/soundmanager2-nodebug-jsmin.js diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..3188d1f --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,30 @@ +{ ...
bjornstar/TumTaster
3dd22746c8881fa7895611f7f33b3d06d9084a42
v0.7.1 - 2017-09-13
diff --git a/HISTORY.md b/HISTORY.md index af49111..cea7062 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,17 +1,31 @@ -#TumTaster Changelog +# TumTaster Changelog -##v0.7.0 - * Made links to Tumblr, SoundCloud and Download for each track in the popup. - * The track that is playing is highlighted in the popup. - * Fi...
bjornstar/TumTaster
047dad3e9e1edd47e64726f3fb1a9dac632fdd99
v0.7.0 - Add links to Tumblr, SoundCloud, and Download for each track in the popup.
diff --git a/HISTORY.md b/HISTORY.md index 486503f..af49111 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,12 +1,17 @@ #TumTaster Changelog +##v0.7.0 + * Made links to Tumblr, SoundCloud and Download for each track in the popup. + * The track that is playing is highlighted in the popup. + * Fixed an issue where post...
bjornstar/TumTaster
b87180c9043de85226155cd204da4ae9e97bcbac
* Fixed an issue where posts that reappeared would not get their download links reapplied * Added this HISTORY file
diff --git a/HISTORY.md b/HISTORY.md index 0cb79a4..486503f 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,13 +1,12 @@ #TumTaster Changelog ##v0.6.1 -* Fixed an issue where posts that reappeared would not get their download links reapplied -* Added this HISTORY file + * Fixed an issue where posts that reappeared wo...
bjornstar/TumTaster
e3771ed5d08f03fe64b6d215b5737494fec53cd4
* Fixed an issue where posts that reappeared would not get their download links reapplied * Added this HISTORY file
diff --git a/HISTORY.md b/HISTORY.md new file mode 100644 index 0000000..0cb79a4 --- /dev/null +++ b/HISTORY.md @@ -0,0 +1,13 @@ +#TumTaster Changelog + +##v0.6.1 +* Fixed an issue where posts that reappeared would not get their download links reapplied +* Added this HISTORY file + +##v0.6.0 +* Updated to work with the...
bjornstar/TumTaster
39f320367d74092730b88e4e2fdb7f21b07b2ed1
v0.6.0 - The player mostly sorta works kinda
diff --git a/src/data/css/popup.css b/src/data/css/popup.css index 525ade8..834bb27 100644 --- a/src/data/css/popup.css +++ b/src/data/css/popup.css @@ -1,181 +1,178 @@ html { color: black; font-family: arial, helvetica, sans-serif; margin: 0; padding: 0; background-color: #36465d; min-width: 400px; } ...
bjornstar/TumTaster
da978c4e107fd9ed02a7d9ab08e5e8b3419288cb
v0.6.0 - We even support SoundCloud playlists
diff --git a/.gitignore b/.gitignore index e43b0f9..a3d1d50 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,7 @@ +*.nex +*.pem +*.safariextz +*.xpi +*.zip .DS_Store +src.safariextension diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..77af83a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT Li...
bjornstar/TumTaster
65c49f3b62ebb3c2c25042e61a02802388b9deb4
v0.5.0 - Kinda sorta better, tries to work with soundcloud but most soundcloud tracks don't allow downloading.
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/README b/README index 50470e9..f27ffad 100644 --- a/README +++ b/README @@ -1,18 +1,8 @@ -TumTaster v0.4.5 +TumTaster v0.5.0 -- http://tumtaster.bjornstar.com By Bjorn S...
bjornstar/TumTaster
fbc29ae3ce1b8fbcb82f959049177961234b4f42
we got soundcloud too.
diff --git a/data/background.js b/data/background.js index 9edf376..8342a8f 100644 --- a/data/background.js +++ b/data/background.js @@ -1,70 +1,80 @@ if (localStorage["settings"] == undefined) { settings = defaultSettings; } else { settings = JSON.parse(localStorage["settings"]); } -chrome.extension.onReque...
bjornstar/TumTaster
22718f96370c39098bece55685524f76623b7c6d
remove more flash/html5 stuff, fix width
diff --git a/data/background.js b/data/background.js index 29f7170..9edf376 100644 --- a/data/background.js +++ b/data/background.js @@ -1,77 +1,70 @@ -var nowplaying = null; - if (localStorage["settings"] == undefined) { settings = defaultSettings; } else { settings = JSON.parse(localStorage["settings"]); } ...
bjornstar/TumTaster
5d7c51ce5e37311a28942dc4eb60a7475c927911
playback now continues onto the next song.
diff --git a/data/background.js b/data/background.js index 77066cf..29f7170 100644 --- a/data/background.js +++ b/data/background.js @@ -1,143 +1,77 @@ var nowplaying = null; if (localStorage["settings"] == undefined) { settings = defaultSettings; } else { settings = JSON.parse(localStorage["settings"]); } ...
bjornstar/TumTaster
f6bad1c100955d7dbea53720ec56ed8835a8b29b
Detection works on tumblr hosted audio.
diff --git a/data/background.js b/data/background.js index 9c0cfff..77066cf 100644 --- a/data/background.js +++ b/data/background.js @@ -1,141 +1,143 @@ var nowplaying = null; if (localStorage["settings"] == undefined) { settings = defaultSettings; } else { settings = JSON.parse(localStorage["settings"]); }...
bjornstar/TumTaster
d49c3f85c4de3d683dd29173ab47fef80ced82f8
first pass at v0.5.0
diff --git a/config.xml b/config.xml deleted file mode 100644 index 89d6469..0000000 --- a/config.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<widget xmlns="http://www.w3.org/ns/widgets" - version="0.4.7"> - <name short="TumTaster">TumTaster for Opera</name> - <description>An extension ...
bjornstar/TumTaster
6dcfec63ba54bfa8c1d6d3aba70a3bc70978dbca
v0.4.9: inject script so you can snarf tumblr's data.
diff --git a/includes/injected.js b/includes/injected.js new file mode 100644 index 0000000..f8cf08d --- /dev/null +++ b/includes/injected.js @@ -0,0 +1,107 @@ +var tumblr_ico = 'data:image/gif;base64,R0lGODlhEAAQAOZuAD9cdyA3TT5bdkBdeCA3Tj1adTZSbCI6VEFeeUtphDhVb0VjfiM7UjdTbiE4T0dlgEhmgjxYc0lnglZfajRQazlVcENgezpWcbrAxzx...
bjornstar/TumTaster
e4a1ff2eb45fd8afdd6b08ef3f6f9736646db2d0
v0.4.8: Updated for the new Tumblr layout. Also uses new sexy detection for new posts.
diff --git a/background.js b/background.js new file mode 100644 index 0000000..9c0cfff --- /dev/null +++ b/background.js @@ -0,0 +1,141 @@ +var nowplaying = null; + +if (localStorage["settings"] == undefined) { + settings = defaultSettings; +} else { + settings = JSON.parse(localStorage["settings"]); +} + +chrome.ext...
bjornstar/TumTaster
d373e19a60e0d50c78123f1c51c296361e3315e9
v0.4.7: Tumblr changed their URL scheme for audio files so I fixed that, and began preparations for safari and opera versions ^^
diff --git a/TumTaster-Screenshot.png b/TumTaster-Screenshot.png deleted file mode 100644 index d47269b..0000000 Binary files a/TumTaster-Screenshot.png and /dev/null differ diff --git a/TumTaster-Small-Title.png b/TumTaster-Small-Title.png deleted file mode 100644 index 8e5bb5e..0000000 Binary files a/TumTaster-Small-...
bjornstar/TumTaster
e7294a6188b4529c0c8247949ad6a075bcbb69f9
v0.4.5 fixed an oversight with renamed variables on flash player. Updated options page to include version number and browser name.
diff --git a/README b/README index 7563260..50470e9 100644 --- a/README +++ b/README @@ -1,16 +1,18 @@ -ChromeTaster v0.4.3 -By Bjorn Stromberg +TumTaster v0.4.5 +By Bjorn Stromberg (@bjornstar) -This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built o...
bjornstar/TumTaster
5ad8f715b9ff322948075d02bcf350be5d70ce51
v0.4.4: renamed extension to TumTaster by decree from Google. Initial changes to support HTML5. Fixed links to SoundCloud hosted files.
diff --git a/Icon-128.png b/Icon-128.png new file mode 100644 index 0000000..f3fcb11 Binary files /dev/null and b/Icon-128.png differ diff --git a/tumblr-audio-icon-16.png b/Icon-16.png similarity index 100% rename from tumblr-audio-icon-16.png rename to Icon-16.png diff --git a/tumblr-audio-icon-32.png b/Icon-32.png s...
bjornstar/TumTaster
949e82ce80c39e122a5503ddcc16ffced480f42a
v0.4.3 - It's settings not localStorage, silly.
diff --git a/README b/README index ff637d8..7563260 100644 --- a/README +++ b/README @@ -1,16 +1,16 @@ -ChromeTaster v0.4.2 +ChromeTaster v0.4.3 By Bjorn Stromberg This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built on top of a greasemonkey script...
bjornstar/TumTaster
1ea84698384a47862e60b95e5a5cb36f233217cc
v0.3.4 Tumblr modified the layout and broke things. Fixed repeat and shuffle, layed groundwork for html5 option.
diff --git a/README b/README index caf0215..ff637d8 100644 --- a/README +++ b/README @@ -1,16 +1,16 @@ -ChromeTaster v0.4.1 +ChromeTaster v0.4.2 By Bjorn Stromberg This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built on top of a greasemonkey script...
bjornstar/TumTaster
2c699b95cda73d8d9affa3995b1cc08eba26027a
I do not understand how to use git, here is the 2nd half of the previous commit.
diff --git a/README b/README index 594cc5f..caf0215 100644 --- a/README +++ b/README @@ -1,16 +1,16 @@ -ChromeTaster v0.4 +ChromeTaster v0.4.1 By Bjorn Stromberg This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built on top of a greasemonkey script t...
bjornstar/TumTaster
0e30ee1ba37d9f0f43f17f7209711079e67711d6
v0.4.1 fixes a bug where the next page link would disappear and post urls without descriptions would get added as www.tumblr.com
diff --git a/manifest.json b/manifest.json index d4eb01e..d59b0c6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,22 +1,22 @@ { "name": "ChromeTaster", - "version": "0.4", + "version": "0.4.1", "description": "A Chrome extension that keeps track of the MP3s you see and queues them up for playback. (Curren...
bjornstar/TumTaster
ce354b97fb5ff4bc3b8e6f1d3454ca597b9d319a
Added options to control which pages ChromeTaster runs on. May not be perfect.
diff --git a/README b/README index f262000..594cc5f 100644 --- a/README +++ b/README @@ -1,16 +1,16 @@ -ChromeTaster v0.3.1 +ChromeTaster v0.4 By Bjorn Stromberg This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built on top of a greasemonkey script t...
bjornstar/TumTaster
8deff61a56fac395b9eb26bca5a912c068102496
Made the options prettier and added a button to remove songs.
diff --git a/README b/README index 292c714..f262000 100644 --- a/README +++ b/README @@ -1,16 +1,16 @@ -ChromeTaster v0.3 +ChromeTaster v0.3.1 By Bjorn Stromberg This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built on top of a greasemonkey script t...
bjornstar/TumTaster
b65f2d2f8e12851c75dbed194d3165d095cb7d92
Added whitelist/blacklist and refactored settings.
diff --git a/README b/README index ce71255..292c714 100644 --- a/README +++ b/README @@ -1,14 +1,16 @@ -ChromeTaster v0.2.1 +ChromeTaster v0.3 By Bjorn Stromberg This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built on top of a greasemonkey script t...
bjornstar/TumTaster
46a96e005d76410771e94f4a2e834570045124fa
Increment version number.
diff --git a/README b/README index 5eac2b5..ce71255 100644 --- a/README +++ b/README @@ -1,14 +1,14 @@ -ChromeTaster v0.2 +ChromeTaster v0.2.1 By Bjorn Stromberg This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built on top of a greasemonkey script t...
bjornstar/TumTaster
4328e1cb1526106cc490bd78d316e54be0342040
Added a loading/progress bar.
diff --git a/popup.html b/popup.html index f3870d1..295ac3b 100644 --- a/popup.html +++ b/popup.html @@ -1,200 +1,259 @@ <html> <style type="text/css"> html{ color:black; font-family:arial,helvetica,sans-serif; margin:0; padding:0; background-color:#2C4762; background-image:url(data:i...
bjornstar/TumTaster
cb9484690723cd1304953f5475e6ec0dd3f089c0
Incremented version number and added flash security warning to README.
diff --git a/README b/README index 63b9f1d..5eac2b5 100644 --- a/README +++ b/README @@ -1,8 +1,14 @@ -ChromeTaster v0.1 +ChromeTaster v0.2 By Bjorn Stromberg This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built on top of a greasemonkey script that...
bjornstar/TumTaster
beb72f4f098189a726f49315bc76b3e6bdfded07
Changed icon to tumblr audio icon, added a few sizes, fixed script.js to only fix next/prev links on show/audio, made popup a little prettier.
diff --git a/manifest.json b/manifest.json index c2c491f..dcdcdd0 100644 --- a/manifest.json +++ b/manifest.json @@ -1,20 +1,23 @@ { "name": "ChromeTaster", "version": "0.1", "description": "A Chrome extension that keeps track of the MP3s you see and queues them up for playback. (Currently only works on Tumbl...
bjornstar/TumTaster
c051fdeba8b6fe5f096da1e04c490cf5d9f5bb3d
I forgot to exclude the dashboard, that was unfortunate.
diff --git a/script.js b/script.js index 44fbd2d..673df1d 100644 --- a/script.js +++ b/script.js @@ -1,100 +1,104 @@ function addGlobalStyle(css) { var elmHead, elmStyle; elmHead = document.getElementsByTagName('head')[0]; elmStyle = document.createElement('style'); elmStyle.type = 'text/css'; elmHead.a...
bjornstar/TumTaster
e6b3306317c11cead6a0780b7b7efeb604777403
Fixed up the prev/next buttons on the show/audio pages on tumblr.
diff --git a/script.js b/script.js index cd1c8ae..44fbd2d 100644 --- a/script.js +++ b/script.js @@ -1,75 +1,100 @@ function addGlobalStyle(css) { var elmHead, elmStyle; elmHead = document.getElementsByTagName('head')[0]; elmStyle = document.createElement('style'); elmStyle.type = 'text/css'; elmHead.ap...
bjornstar/TumTaster
fe8927ec06187aa17ff499e3ef8f2e75d2b24d2c
Added a real options page with shuffle and repeat.
diff --git a/background.html b/background.html index 334dcc5..6393d40 100644 --- a/background.html +++ b/background.html @@ -1,40 +1,57 @@ <html> <script type="text/javascript" src="soundmanager2.js"></script> <script type="text/javascript"> var playlist = new Array(); var nowplaying = null; chrome.extens...
bjornstar/TumTaster
729e01b7450b190859d86f893cf0ae33f1b1f1b3
Added shuffle, still needs work to prevent repeats.
diff --git a/background.html b/background.html index ca6ca19..334dcc5 100644 --- a/background.html +++ b/background.html @@ -1,32 +1,40 @@ <html> <script type="text/javascript" src="soundmanager2.js"></script> <script type="text/javascript"> var playlist = new Array(); var nowplaying = null; chrome.extens...
bjornstar/TumTaster
16ae972c23f4e68a3714bbecedc7e1e2f7f85f90
Fixed pause to use the current song.
diff --git a/popup.html b/popup.html index d960b92..821b969 100644 --- a/popup.html +++ b/popup.html @@ -1,162 +1,162 @@ <html> <style type="text/css"> html{ color:black; font-family:arial,helvetica,sans-serif; margin:0; padding:0; background-color:#2C4762; background-image:url(data:i...
bjornstar/TumTaster
7b7f75429b842db4490a695268bd4694149d2969
Iterate through sounds to find the one that's playing rather than trying to keep two variables in sync. Need better way to update nowplaying for onplay.
diff --git a/background.html b/background.html index 29eee4c..ca6ca19 100644 --- a/background.html +++ b/background.html @@ -1,44 +1,32 @@ <html> <script type="text/javascript" src="soundmanager2.js"></script> <script type="text/javascript"> var playlist = new Array(); var nowplaying = null; chrome.extens...
bjornstar/TumTaster
ee10193cbdad9b6cd5f4decc922285312035d032
Added onloadfailed event to soundmanager, triggers when an mp3 fails to load. ChromeTaster can then handle this event. Current setting is to skip to the next track.
diff --git a/background.html b/background.html index 3fcbf31..29eee4c 100644 --- a/background.html +++ b/background.html @@ -1,43 +1,44 @@ <html> <script type="text/javascript" src="soundmanager2.js"></script> <script type="text/javascript"> var playlist = new Array(); var nowplaying = null; chrome.extens...
bjornstar/TumTaster
3e41a69f36ccdcf65fa99d22be724523b3d1a2f6
Added README
diff --git a/README b/README new file mode 100644 index 0000000..63b9f1d --- /dev/null +++ b/README @@ -0,0 +1,8 @@ +ChromeTaster v0.1 +By Bjorn Stromberg + +This is a Chrome extension that slurps up all the links to MP3s that you see and queues them up for playback. It's built on top of a greasemonkey script that I wr...
tef/crawler
0465616eee1c2785e0cd3a066dde97ee4bff89e9
more moving shit around, one session per scraper thread, usin links everywhere
diff --git a/crawler.py b/crawler.py index ea545df..ae61338 100644 --- a/crawler.py +++ b/crawler.py @@ -1,62 +1,380 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/python """An example website downloader, similar in functionality to -a primitive wget. It has one third party dependency (requests), and -is written for Python ...
tef/crawler
d3056c24cfa4ee4bcfd228d1e741f50f993a6e39
append only
diff --git a/scraper/__init__.py b/scraper/__init__.py index fe11c53..aea6a88 100644 --- a/scraper/__init__.py +++ b/scraper/__init__.py @@ -1,228 +1,228 @@ """A bulk downloader""" from __future__ import with_statement import logging import threading import os import re import os.path from datetime import...
tef/crawler
422ff8e4678fd6036d1dca75b3964ec3020579e4
we make warcs :3
diff --git a/scraper/__init__.py b/scraper/__init__.py index 2fcb11c..fe11c53 100644 --- a/scraper/__init__.py +++ b/scraper/__init__.py @@ -1,233 +1,228 @@ """A bulk downloader""" from __future__ import with_statement import logging import threading import os import re import os.path +from datetime import...
tef/crawler
c8d46fb5511d46eeb7e3286422b75a5255713882
refactoring for requests
diff --git a/scraper/__init__.py b/scraper/__init__.py index 8c02ec6..2fcb11c 100644 --- a/scraper/__init__.py +++ b/scraper/__init__.py @@ -1,234 +1,233 @@ """A bulk downloader""" from __future__ import with_statement import logging import threading import os import re import os.path from urlparse import...
tef/crawler
fcd2b96cd8d9541758432dfcb34551fd1926c10e
moving
diff --git a/crawler.py b/crawler.py index 72fc59b..ea545df 100644 --- a/crawler.py +++ b/crawler.py @@ -1,62 +1,62 @@ #!/usr/bin/env python2.5 """An example website downloader, similar in functionality to a primitive wget. It has one third party dependency (requests), and is written for Python 2.5. MIT License""" ...
tef/crawler
e60c27e6eaebe356e36b09c32bc03105f26941df
moving shit around
diff --git a/crawler.py b/crawler.py index d22f535..72fc59b 100644 --- a/crawler.py +++ b/crawler.py @@ -1,57 +1,62 @@ #!/usr/bin/env python2.5 """An example website downloader, similar in functionality to a primitive wget. It has one third party dependency (requests), and is written for Python 2.5. MIT License""" ...
tef/crawler
d16782c634453af61ef3b73cdfaada61fa82f7be
extending tag extractor
diff --git a/crawler.py b/crawler.py index 8002e8c..d22f535 100644 --- a/crawler.py +++ b/crawler.py @@ -1,57 +1,57 @@ #!/usr/bin/env python2.5 """An example website downloader, similar in functionality to -a primitive wget. It has no third party dependencies, and -is written for Python 2.5""" +a primitive wget. It h...
tef/crawler
846fbc3ab4e172fd51ccc6418d7558825986d076
using requests
diff --git a/pyget/lib/http.py b/pyget/lib/http.py index 0758e48..81f7be3 100644 --- a/pyget/lib/http.py +++ b/pyget/lib/http.py @@ -1,38 +1,37 @@ import logging -from urllib2 import urlopen, URLError -from urlparse import urlparse +import requests from htmlparser import LinkParser, HTMLParseError def fetch(ur...
tef/crawler
55d87b7c7c9312f8042795815e8c391b72e1d785
null bug
diff --git a/pyget/lib/harvester.py b/pyget/lib/harvester.py index 5bd4acb..7d10b86 100644 --- a/pyget/lib/harvester.py +++ b/pyget/lib/harvester.py @@ -1,173 +1,173 @@ """A bulk downloader""" from __future__ import with_statement import os.path import logging import threading from threading import Thread,C...
tef/crawler
f718c4799f42dc0ecceb8466f2ec592aed38a75d
added root-set option, fixed thread bug
diff --git a/pyget/lib/harvester.py b/pyget/lib/harvester.py index 202d6c3..5bd4acb 100644 --- a/pyget/lib/harvester.py +++ b/pyget/lib/harvester.py @@ -1,169 +1,173 @@ """A bulk downloader""" from __future__ import with_statement import os.path import logging import threading from threading import Thread,C...
tef/crawler
36abfd5c2c9903eb56991ad6497514363c9e2ae7
whoops
diff --git a/pyget/pyget.py b/pyget/pyget.py index 441b52b..df1d794 100644 --- a/pyget/pyget.py +++ b/pyget/pyget.py @@ -1,53 +1,53 @@ #!/usr/bin/env python2.5 """An example website downloader, similar in functionality to a primitive wget. It has no third party dependencies, and is written for Python 2.5""" impo...
tef/crawler
2fe9bc5bcafd86566999de32a4f92a9b52107f44
minor tidy - time to stop
diff --git a/pyget/lib/harvester.py b/pyget/lib/harvester.py index 9a8e82f..202d6c3 100644 --- a/pyget/lib/harvester.py +++ b/pyget/lib/harvester.py @@ -1,166 +1,169 @@ """A bulk downloader""" from __future__ import with_statement import os.path import logging import threading from threading import Thread,C...
tef/crawler
21fafd39b52d9fa5eebef63e91ee816d5178e73a
moving stuff around and making it threaded
diff --git a/pyget/lib/__init__.py b/pyget/lib/__init__.py new file mode 100644 index 0000000..efa0708 --- /dev/null +++ b/pyget/lib/__init__.py @@ -0,0 +1,2 @@ +from harvester import Harvester +__all__ = ["Harvester"] \ No newline at end of file diff --git a/pyget/lib/harvester.py b/pyget/lib/harvester.py new file mod...
tef/crawler
04415a16a102e823902b3b1453317cff586e3cc0
make scraper behave like a thread - first pass of threading scraper
diff --git a/pyget/pyget.py b/pyget/pyget.py index e3e7d15..2bd7498 100644 --- a/pyget/pyget.py +++ b/pyget/pyget.py @@ -1,46 +1,46 @@ #!/usr/bin/env python2.5 """An example website downloader, similar in functionality to a primitive wget. It has no third party dependencies, and is written for Python 2.5""" impo...
tef/crawler
75df9b3c8d200bd3b392326b8244b914378cfe6f
better ./, ../ handling in relative links, also fixed scraper loop as it should tread unread urls as a set *and* a queue
diff --git a/pyget/htmlparser.py b/pyget/htmlparser.py index a3cc605..d4f80f6 100644 --- a/pyget/htmlparser.py +++ b/pyget/htmlparser.py @@ -1,58 +1,70 @@ """Simplified html parser that extracts urls from a document""" import logging import os.path from urlparse import urlparse, urlunparse from HTMLParser impo...
tef/crawler
41c776c1d41e127e7b9eb5ad7d9b5247c7234653
working on relative links from document
diff --git a/pyget/htmlparser.py b/pyget/htmlparser.py index 7adad0d..a3cc605 100644 --- a/pyget/htmlparser.py +++ b/pyget/htmlparser.py @@ -1,37 +1,58 @@ """Simplified html parser that extracts urls from a document""" +import logging +import os.path + +from urlparse import urlparse, urlunparse from HTMLParser impo...
tef/crawler
75c450fc05aa6102871fe904c14acd46fc8450fd
adding link parser
diff --git a/pyget/htmlparser.py b/pyget/htmlparser.py new file mode 100644 index 0000000..7adad0d --- /dev/null +++ b/pyget/htmlparser.py @@ -0,0 +1,37 @@ +"""Simplified html parser that extracts urls from a document""" + +from HTMLParser import HTMLParser, HTMLParseError + + +def attr_extractor(name): + def _e...
tef/crawler
4d87ace202ae124b76515d9e60ad71fe87ada211
inital boilerplate for parsing arguments, fetching a file and writing it to disk
diff --git a/pyget/pyget.py b/pyget/pyget.py new file mode 100644 index 0000000..5ad44aa --- /dev/null +++ b/pyget/pyget.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python2.5 +"""An example website downloader, similar in functionality to +a primitive wget""" + +import sys +import logging + +from optparse import OptionParser + ...
tef/crawler
4cb4e88dc38a3ab5b58cc3998c6e44b03aeedeac
inital boilerplate for parsing arguments, fetching a file and writing it to disk
diff --git a/pyget/scraper.py b/pyget/scraper.py new file mode 100644 index 0000000..ddfb130 --- /dev/null +++ b/pyget/scraper.py @@ -0,0 +1,86 @@ +"""A bulk downloader""" + +from __future__ import with_statement + +import os +import os.path +import logging + +from collections import deque +from urllib2 import urlopen,...
valaravena/Glo
465f2a62d423c76d1aee7768e16ed21f8ae24df5
Adding Update
diff --git a/app/config/database.php b/app/config/database.php index 50103c9..b41b4d8 100644 --- a/app/config/database.php +++ b/app/config/database.php @@ -1,96 +1,99 @@ <?php /** * This is core configuration file. * * Use it to configure core behaviour ofCake. * * PHP versions 4 and 5 * * CakePHP(tm) ...