The PGM course pdfs are on a different link and here's my small patch for getting the pdfs.
$ cat pgm.patch
diff --git a/coursera_downloader.py b/coursera_downloader.py
index e51f4b3..56451d8 100644
--- a/coursera_downloader.py
+++ b/coursera_downloader.py
@@ -136,6 +136,15 @@ def resolve_resources(br, path, course):
else:
print 'Can NOT match video names with subtitiles. Ignore...'
txt = []
- if course == 'pgm':
-
slides_pdf = 'https://class.coursera.org/pgm/wiki/view?page=LectureSlides'
-
-
-
m_pdf = re.search(r'https*:[\S]+/([\S]+.pdf)', str(ll))
-
-
pdf.append([resolve_name_with_hex(m_pdf.group(1)), m_pdf.group()])
return video, srt, txt, pdf, pptx
The PGM course pdfs are on a different link and here's my small patch for getting the pdfs.
$ cat pgm.patch
diff --git a/coursera_downloader.py b/coursera_downloader.py
index e51f4b3..56451d8 100644
--- a/coursera_downloader.py
+++ b/coursera_downloader.py
@@ -136,6 +136,15 @@ def resolve_resources(br, path, course):
else:
print 'Can NOT match video names with subtitiles. Ignore...'
txt = []
return video, srt, txt, pdf, pptx