-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
[MRG+1] Add 'flv' to ignored video extensions. #3165
[MRG+1] Add 'flv' to ignored video extensions. #3165
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to add flv extension to the list.
scrapy/linkextractors/__init__.py
Outdated
@@ -28,7 +28,7 @@ | |||
|
|||
# video | |||
'3gp', 'asf', 'asx', 'avi', 'mov', 'mp4', 'mpg', 'qt', 'rm', 'swf', 'wmv', | |||
'm4a', 'm4v', | |||
'm4a', 'm4v', 'flv' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comma is missing. You've replaced "xls" with "flvxls" in this PR: Python joins strings with no separators between them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, sorry. Added comma.
Codecov Report
@@ Coverage Diff @@
## master #3165 +/- ##
=======================================
Coverage 82.11% 82.11%
=======================================
Files 228 228
Lines 9588 9588
Branches 1385 1385
=======================================
Hits 7873 7873
Misses 1456 1456
Partials 259 259
|
Thanks @siulkilulki ! |
flv extension is missing. I run into downloading large .flv file while scraping.