Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bbc] - Add Support for Gallery Pages #1730

Closed
wants to merge 3 commits into from
Closed

[bbc] - Add Support for Gallery Pages #1730

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jul 28, 2021

Expand RegEx Pattern for BbcProgrammeExtractor to support gallery pages, e.g. https://www.bbc.co.uk/programmes/b006q2x0/galleries?page=5

This is my first PR here, so hopefully all is ok. I am not 100% certain on the tests, so any issues, please do let me know.

Tested the code locally and the pages downloaded as expected.

timethrow added 3 commits July 28, 2021 19:54
Expand RegEx Pattern for `BbcProgrammeExtractor` to support gallery pages, e.g. `https://www.bbc.co.uk/programmes/b006q2x0/galleries?page=5`
Fix Indentation of Test Case
Fix Indentation Again
@mikf mikf closed this in 57c1a86 Jul 29, 2021
@mikf
Copy link
Owner

mikf commented Jul 29, 2021

Thanks for the contribution.

I extended this a bit to automatically scan all pages, starting with the one given by the page parameter if given. (57c1a86)
Running gallery-dl with https://www.bbc.co.uk/programmes/b006q2x0/galleries as input URL now grabs all 44 pages of galleries. (Use --chapter-range to set a limit)

I've also found a way to download larger image versions than the default 976x549 ones, by the way (6c11105)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant