We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 431eb7a commit e611699Copy full SHA for e611699
analysis_options.yaml
@@ -26,6 +26,7 @@ linter:
26
test_types_in_equals: true
27
unawaited_futures: true
28
unnecessary_parenthesis: true
29
+ unnecessary_raw_strings: true
30
unnecessary_statements: true
31
unsafe_html: true
32
use_raw_strings: true
lib/src/rules/youtube.scrapper.dart
@@ -14,7 +14,7 @@ class YouTubeScrapper {
14
static WebInfo scrape(HtmlDocument doc, String url) {
15
try {
16
final id = getYoutTubeVideoId(url);
17
- var title = RegExp(r'"title":"(.+?)"')
+ var title = RegExp('"title":"(.+?)"')
18
.firstMatch(doc.querySelector('html')?.innerHtml ?? '')
19
?.group(0)
20
?.split(':')[1]
0 commit comments